Apache - setting up a subdomain
Posted
by
Adam
on Server Fault
See other posts from Server Fault
or by Adam
Published on 2012-09-26T00:38:25Z
Indexed on
2012/09/26
3:39 UTC
Read the original article
Hit count: 432
I'm having trouble getting a subdomain working for an Apache Linux Install. Following is what I've configured:
DNS:
connect.goneglobal.com.
CNAME
54.251.35.112
Apache httpd.conf:
<VirtualHost *:80>
DocumentRoot /var/www/html/connect.goneglobal.com
ServerName connect.goneglobal.com
</VirtualHost>
restart httpd - this ip is registered to this server - works for other sites on this apache. (first time I've tried a subdomain).
Appears the issue is with DNS potentially and it doesn't seem to get to the site.
Note: I have an index.php in the Documentroot.
Note: there is an A record for goneglobal.com. which goes to a different hosting provider.
thx
© Server Fault or respective owner