Linode.com Forum Forum Index Linode.com Forum
Linode Community Forums
 


how to add subdomian

Click here to go to the original topic

 
       Linode.com Forum Forum Index -> Linux, Apache, Mysql and PHP (LAMP) Forum
Author Message
andrewz



Joined: 21 Oct 2007
Posts: 5

Posted: Mon Oct 22, 2007 12:05 pm    Post subject: how to add subdomian  

Hi,
I am looking for instructions on how to add a subdomain. This is what I did so far but it's not working so I must be missing something.

I made an entry in my httpd.conf file like this:

<VirtualHost xx.xxx.xxx.xxx:80>
DocumentRoot /var/www/subdomain
ServerName subdomain.example.com
</VirtualHost>

I added an A record to linode's dns manager for subdomain.example.com pointing to my IP address.

Is this the correct way?

thanks
Andrew
Back to top  
SteveG



Joined: 30 Nov 2003
Posts: 212

Posted: Mon Oct 22, 2007 9:32 pm    Post subject:  

Did you restart apache after making the change?

Is the problem that the name is not resolving (which is a DNS issue) or that
apache isn't reacting properly?
Back to top  
 
       Linode.com Forum Forum Index -> Linux, Apache, Mysql and PHP (LAMP) Forum
Page 1 of 1