Take the 2-minute tour ×  On my clients web server, he has this
apache conf file:   Listen *:80 <VirtualHost *:80>      # rails
public folder     DocumentRoot /www/myclientdomain.com/public
ServerName myclientdomain.com     RailsEnv production   I wanted
to add a subdomain to the server for testing purposes so I added
a new conf file that apache would read:   Listen *:80
<VirtualHost *:80>      DocumentRoot /www/dev.myclientdomain.com
ServerName dev.myclientdomain.com   And upon using apachectl
--configtest I get this:   Now, I'm obviously no apache expert.
I'm just a web developer but I thought I knew enough about web
administration to get a basic subdomain running... apparently
not. Can anyone point me in the right direction?  share|improve
this question add comment  1 Answer  up vote 1 down vote
accepted  You only need one "Listen *:80" in your apache config.
Get rid of the one in your subdomain config file and that should
take care of it.  share|improve this answer That worked, thanks!
However aft