Virtual hosts and subdomains, need configuring on live, not on dev

Posted by rix on Server Fault See other posts from Server Fault or by rix
Published on 2012-03-26T11:06:14Z Indexed on 2012/03/26 11:33 UTC
Read the original article Hit count: 230

Filed under:
|

I have a query about subdomains and virtual hosts.

On my dev server, I ca nset up a new virtual hosts and point it to a subdomain, ie:

newdomain.mydevserver.com

All is fine and I can access 'newdomain/mydevserver/com'

I can also do 'host newdomain.mydevserver.com'

However, when I do the same with my main server I get the server couldn't be contacted error - I'm guessing that's because i need a cname or a record for the DNS.

My question is, why does it seem that i can create subdomains on my dev but not on my live server?

Help appreciated, many thanks!

© Server Fault or respective owner

Related posts about apache2

Related posts about virtualhost