Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sat Aug 31, 2013 2:28 pm 
Offline
Newbie

Joined: Sat Aug 31, 2013 2:14 pm
Posts: 2
I'm hosting 3 different sites on my Linode. Each site has a different URL and is in a different folder. Ex;

/public/site1
/public/site2
/public/site3

Used this guide to set everything up: https://library.linode.com/hosting-webs ... tual-hosts

All domain names are on namecheap with the DNS transferred to Linode following the guide: https://library.linode.com/hosting-webs ... ns-records

The first 2 sites that I set up work perfectly. Yesterday I set up site 3, doing the exact same things I did before. When I go to the URL for site3, it instead points to the content of site2. If I enter the server IP address it points to site2.

How do I troubleshoot this? Let me know if additional info is needed.

Thank you!


Last edited by ivanpomedorov on Sat Aug 31, 2013 3:29 pm, edited 1 time in total.

Top
   
PostPosted: Sat Aug 31, 2013 3:04 pm 
Offline
Senior Member

Joined: Sun Apr 26, 2009 3:37 am
Posts: 72
Website: http://wiggenhorn.org/
Well, you would correct the error, typo, missed step, etc., that you made when following the guide to add the 4th site. Review the steps in the guide and make sure you actually followed all of them correctly. It's very likely that if you had followed the exact same procedure for site 4 as you did for sites 1-3, site 4 would work as expected.

If you'd like the folks on the forum to find your error for you, you'll need to provide a lot more information. You could list the contents of /etc/apache2/sites-available and /etc/apache2/sites-enabled along with all of your virtual host configuration files (the ones like /etc/apache2/sites-available/example.com in the guide).

You did reload your apache configuration after adding the 4th site, right?


Top
   
PostPosted: Sat Aug 31, 2013 3:38 pm 
Offline
Newbie

Joined: Sat Aug 31, 2013 2:14 pm
Posts: 2
Thanks dcraig- I went through and doublechecked everything, made no changes, restarted apache one more time (even though i did that before) and everything started working.

Not sure what happened. But thanks ;).


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


Who is online

Users browsing this forum: SpinThis! and 1 guest


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