Subdomain check list!
So I set up a subdomain as I would a new domain (Ubuntu/Apache) and set an A-Record to point to it.
I'm wanting to create directplumb.perfectpixels.biz (perfectpixels.biz is already hosted)
Created A record "directplumb" points to my server IP.
VHOST:
# domain: directplumb.perfectpixels.biz
# public: /home/rob/public/directplumb.perfectpixels.biz/
<virtualhost *:80=""># Admin email, Server Name (domain name), and any aliases
ServerAdmin me@robhadfield.co.uk
ServerName directplumb.perfectpixels.biz
ServerAlias www.directplumb.perfectpixels.biz
# Index file and Document Root (where the public files are located)
DirectoryIndex index.html index.php
DocumentRoot /home/rob/public/directplumb.perfectpixels.biz/public
# Log file locations
LogLevel warn
ErrorLog /home/rob/public/directplumb.perfectpixels.biz/log/error.log
CustomLog /home/rob/public/directplumb.perfectpixels.biz/log/access.log combined</virtualhost>
It appears to have resolved looking at the propagation checkers online and it pings fine too. I just get 'Server Not Found' in the browser though.
What have I missed? It's only been set up for about 4 hours but I don;t think that's the issue.
Any ideas or things I can check?
Rob
6 Replies
Sorry - must. be. patient. must. be. patient.
Jeez, what a n00b.
Just wondering what server alias have you used on your main domain?
Why do you ask?
EG:
I guess you don't really need an alias on a subdomain. I'm not sure if
@robhadfield:
Hm, my understanding (what there is of it) is that the alias is there to catch URL variations. I guess you don't really need an alias on a subdomain. I'm not sure if
http://www.sub.domain.com would be caught?
Exactly this what I was thinking.
Can anyone confirm if server alias can make or break anything?