Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Thu Jul 19, 2012 9:32 pm 
Offline
Newbie

Joined: Thu Jul 19, 2012 9:29 pm
Posts: 2
I've just routed my domains to go to my Linode but they map to my web root and not my document root I set in the apache config.

This is my config file for the domain I want to map

Code:
<VirtualHost *:80>
     ServerAdmin shamist@gmail.com
     ServerName thevorticon.com
     ServerAlias www.thevorticon.com
     DocumentRoot /srv/www/thevorticon
</VirtualHost>


and it seems as if it maps to /src/www and not the subfolder.

Any idea what could be wrong?


Top
   
PostPosted: Fri Jul 20, 2012 1:20 am 
Offline
Senior Member
User avatar

Joined: Sun Jan 18, 2009 2:41 pm
Posts: 830
Did you restart Apache after editing the configuration?
Code:
apachectl -k graceful


If that's not it, did you enable the virtual host? That is, do you have a link pointing from the sites-enabled directory to the config file in sites-available?


Top
   
PostPosted: Fri Jul 20, 2012 1:37 am 
Offline
Newbie

Joined: Thu Jul 19, 2012 9:29 pm
Posts: 2
I took out the default vhost files and it worked. Not sure why I didn't think of that.


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


Who is online

Users browsing this forum: No registered users and 3 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