Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Wed Nov 11, 2009 7:17 am 
Offline
Newbie

Joined: Tue Oct 20, 2009 8:34 am
Posts: 4
Hi,

My domain name is www.vindhyachalacademy.org. As you can see, it is temporarily up. However, when I try to access it via http://vindhyachalacademy.org or even the IP address, I get the default apache page.

I installed apache using VirtualNaming scheme as suggested in the Linode Library.

I couldn't get anything from this question http://www.linode.com/forums/viewtopic.php?t=4787.

Any pointers?

Thanks!


Top
   
 Post subject:
PostPosted: Wed Nov 11, 2009 7:26 am 
Offline
Senior Newbie

Joined: Wed Jan 09, 2008 6:55 am
Posts: 15
You probably have a "ServerName www.blah.org" line but no "ServerAlias blah.org" line. Add it underneath ServerName, and restart Apache. If that doesn't work, show us the whole VirtualHosting block.


Top
   
 Post subject:
PostPosted: Wed Nov 11, 2009 7:39 am 
Offline
Newbie

Joined: Tue Oct 20, 2009 8:34 am
Posts: 4
Thanks for the quick reply.

Here it is:

<VirtualHost *:80>
ServerAdmin mail@vindhyachalacademy.org
ServerName vindhyachalacademy.org
ServerAlias www.vindhyachalacademy.org
DocumentRoot /srv/www/vindhyachalacademy.org/public_html
ErrorLog /srv/www/vindhyachalacademy.org/logs/error.log
CustomLog /srv/www/vindhyachalacademy.org/logs/access.log combined
</VirtualHost>


Top
   
 Post subject:
PostPosted: Wed Nov 11, 2009 8:18 am 
Offline
Senior Member

Joined: Sun Aug 02, 2009 1:32 pm
Posts: 222
Website: https://www.barkerjr.net
Location: Connecticut, USA
Can you tell if the VirtualHost is actually working? i.e. add a redirect to it and see if that takes effect.


Top
   
 Post subject:
PostPosted: Wed Nov 11, 2009 9:26 am 
Offline
Newbie

Joined: Tue Oct 20, 2009 8:34 am
Posts: 4
It must be working because the root folder (for the Website) etc are specified here only, right?


Top
   
 Post subject:
PostPosted: Wed Nov 11, 2009 10:20 pm 
Offline
Senior Member

Joined: Sun Aug 02, 2009 1:32 pm
Posts: 222
Website: https://www.barkerjr.net
Location: Connecticut, USA
I don't know. If you're new to apache, you might have added it multiple places till you got it right. You could try commenting it out and see if it is the only place.


Top
   
 Post subject:
PostPosted: Fri Nov 13, 2009 3:25 pm 
Offline
Senior Newbie

Joined: Fri Nov 13, 2009 12:36 pm
Posts: 5
vinacademy did you get a right answer for this question. I see your site is working with and without www.

Can you share with us how did you manage to do it?

Thanks!


Top
   
 Post subject:
PostPosted: Thu Dec 10, 2009 12:45 pm 
Offline

Joined: Thu Dec 10, 2009 12:43 pm
Posts: 1
I'd like to know this too, since I have the same problem...
Thank you


Top
   
 Post subject:
PostPosted: Sun Jan 03, 2010 3:07 am 
Offline
Newbie

Joined: Tue Oct 20, 2009 8:34 am
Posts: 4
Hi,

Sorry for the late reply. I didn't get any reminder on email from the forum that there are further replies to this thread. Don't know if this would be useful for you or not, but I followed the following procedure:

1. Go to DNS Manger.
2. Add an 'A' record with Domain Name (of course, without www), and proper IP address.
3. Follow Linode Library's docs on how to configure Apache Server.

HTH

Saurabh.


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


Who is online

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