Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: Subdomain check list!
PostPosted: Sun Sep 23, 2012 2:48 pm 
Offline
Senior Newbie

Joined: Sun Aug 19, 2012 4:55 am
Posts: 11
Hey...

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:
Code:
# 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


Top
   
PostPosted: Sun Sep 23, 2012 2:59 pm 
Offline
Senior Newbie

Joined: Sun Aug 19, 2012 4:55 am
Posts: 11
ARGH, It's working!!!

Sorry - must. be. patient. must. be. patient.

Jeez, what a n00b.


Top
   
PostPosted: Tue Sep 25, 2012 5:40 am 
Offline
Junior Member
User avatar

Joined: Mon Sep 17, 2012 4:33 am
Posts: 43
Website: http://www.bonsoni.com
Yeh it's working.

Just wondering what server alias have you used on your main domain?

_________________
Ubuntu 10.4 LTS, Apache2, LAMP, n00b

Online Shopping


Top
   
PostPosted: Tue Sep 25, 2012 7:16 am 
Offline
Senior Newbie

Joined: Sun Aug 19, 2012 4:55 am
Posts: 11
The main domain just has perfectpixels.biz and an alias of www.perfectpixels.biz

Why do you ask?


Top
   
PostPosted: Thu Sep 27, 2012 5:14 am 
Offline
Junior Member
User avatar

Joined: Mon Sep 17, 2012 4:33 am
Posts: 43
Website: http://www.bonsoni.com
Because I used the same server alias as the main domain server alias. Now wondering if it is wrong

_________________
Ubuntu 10.4 LTS, Apache2, LAMP, n00b

Online Shopping


Top
   
PostPosted: Thu Sep 27, 2012 5:20 am 
Offline
Senior Newbie

Joined: Sun Aug 19, 2012 4:55 am
Posts: 11
Hm, my understanding (what there is of it) is that the alias is there to catch URL variations.

EG: www.domain.com points to domain.com
I guess you don't really need an alias on a subdomain. I'm not sure if www.sub.domain.com would be caught?


Top
   
PostPosted: Thu Sep 27, 2012 8:03 am 
Offline
Junior Member
User avatar

Joined: Mon Sep 17, 2012 4:33 am
Posts: 43
Website: http://www.bonsoni.com
robhadfield wrote:
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?

_________________
Ubuntu 10.4 LTS, Apache2, LAMP, n00b

Online Shopping


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group