Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Thu May 26, 2011 5:23 pm 
Offline
Senior Newbie

Joined: Thu May 26, 2011 3:38 pm
Posts: 8
Hello,

Would like to ask a simple question. I want to create a subdomain like x.domain.com on my server.

I added A record for x subdomain from linode manager.

And here comes my questions

should i create a new vhost file in /etc/apache2/sites-available, as x.domain.com or just add the virtualhost conf into the domain.com's ?

Should i create a new folder like /var/www/x.domain.com or is it enough if i create a folder under my domain.com's public_html and point it out there from vhost conf.

I created a new subdomain but its not loading, so cant really see the problem


Top
   
PostPosted: Thu May 26, 2011 5:45 pm 
Offline
Senior Member

Joined: Fri Jan 09, 2009 5:32 pm
Posts: 634
barbaros wrote:
should i create a new vhost file in /etc/apache2/sites-available, as x.domain.com or just add the virtualhost conf into the domain.com's ?

Should i create a new folder like /var/www/x.domain.com or is it enough if i create a folder under my domain.com's public_html and point it out there from vhost conf.


either answer will work, it's a matter of semantics really. If you consider X to be a standalone site, I'd say put it in it's own file in the sites-available and it's own directory. If it's a subsite, putting it in the same conf file and directory makes sense.

what problem are you having? consider posting the real domain names, it'll help us help you.


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