Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Thu Feb 07, 2008 7:33 pm 
Offline
Junior Member

Joined: Sun Dec 30, 2007 3:11 pm
Posts: 30
Website: http://www.triptoy.net
My primary domain functions,
http://www.triptoy.net

A hosted domain for a friend works fine,
http://www.slivovitzmusic.com

and now I tried adding a domain for a family member...
http://www.areawiderepair.com

Which does not work, it appears apache is trying to point to "/" instead of the /home/areawiderepair.com/public_html folder.



here is my httpd.conf
Code:
NameVirtualHost 67.18.186.137:80

 <VirtualHost 67.18.186.137:80>
 ServerName triptoy.net
 ServerAlias www.triptoy.net
 DocumentRoot "/var/www"
 ScriptAlias /cgi-bin/ /var/www/cgi-bin/
 </VirtualHost>

 <VirtualHost 67.18.186.137:80>
 ServerName slivovitzmusic.com
 ServerAlias www.slivovitzmusic.com
 DocumentRoot "/home/slivovitzmusic.com/public_html"
 ScriptAlias /cgi-bin/ /home/slivovitzmusic.com/cgi-bin/
 </VirtualHost>

 <VirtualHost 67.18.186.137:80>
 ServerName areawiderepair.com
 ServerAlias www.areawiderepair.com
 DocumentRoot "/home/areawiderepair.com/public_html"
 ScriptAlias /cgi-bin/ /home/areawiderepair.com/cgi-bin/
 </VirtualHost>


Anyone else see what the problem is?


Last edited by djtriptoy on Tue Feb 19, 2008 7:57 pm, edited 3 times in total.

Top
   
 Post subject:
PostPosted: Thu Feb 07, 2008 9:25 pm 
Offline
Senior Member

Joined: Wed Oct 20, 2004 8:55 am
Posts: 120
Have you re-loaded Apache?


Top
   
 Post subject:
PostPosted: Fri Feb 08, 2008 10:54 am 
Offline
Junior Member

Joined: Sun Dec 30, 2007 3:11 pm
Posts: 30
Website: http://www.triptoy.net
Quote:
Have you re-loaded Apache?


Yes, and had to reboot for another reason... Neither worked.


Top
   
 Post subject:
PostPosted: Fri Feb 08, 2008 2:15 pm 
Offline
Junior Member

Joined: Sun Dec 02, 2007 1:17 am
Posts: 27
Website: http://www.nabber.org
Looks like its working to me?


Top
   
 Post subject:
PostPosted: Fri Feb 08, 2008 3:05 pm 
Offline
Junior Member

Joined: Sun Dec 30, 2007 3:11 pm
Posts: 30
Website: http://www.triptoy.net
It looks fine to me as well, but if you go to http://www.areawiderepair.com/ it tells me forbidden, you do not have access to "/"

The other two work fine.

I have an index.html file in that directory so this shouldnt be the case...


Top
   
 Post subject:
PostPosted: Fri Feb 08, 2008 4:45 pm 
Offline
Senior Member

Joined: Sun Nov 30, 2003 2:28 pm
Posts: 245
Well, problem one is that www.areawiderepair.com points to yahoo servers. Did you forget to update DNS? Or has it just not propagated yet?

As for the error you're seeing, it looks a lot like a permissions or ownership problem on the directory or index file.

_________________
The irony is that Bill Gates claims to be making a stable operating system and Linus Torvalds claims to be trying to take over the world.
-- seen on the net


Top
   
 Post subject:
PostPosted: Fri Feb 08, 2008 5:19 pm 
Offline
Junior Member

Joined: Sun Dec 30, 2007 3:11 pm
Posts: 30
Website: http://www.triptoy.net
propagation. what I see is:

Code:
Forbidden
You don't have permission to access / on this server.

----------------------------------------

Apache/2.2.3 (Debian) PHP/5.2.0-8+etch10 Server at areawiderepair.com Port 80



Yep.. the problem was the permission! thanks


Top
   
 Post subject:
PostPosted: Sat Feb 09, 2008 3:10 pm 
Offline
Senior Member

Joined: Sun Nov 30, 2003 2:28 pm
Posts: 245
You've still got DNS problems., as of 1300 CST Feb 9. I think you need to update the registration to point to your new nameserver(s).

_________________
The irony is that Bill Gates claims to be making a stable operating system and Linus Torvalds claims to be trying to take over the world.

-- seen on the net


Top
   
 Post subject:
PostPosted: Tue Feb 19, 2008 7:55 pm 
Offline
Junior Member

Joined: Sun Dec 30, 2007 3:11 pm
Posts: 30
Website: http://www.triptoy.net
This is still fudged. The DNS resolvers have been fixed but it still claims "/" is inaccessible. I don't know what happened, one moment I could see the page I created on the server and all of a sudden its back to forbidden. I didn't change anything to cause it to stop working....

Anyone have any ideas?


Top
   
 Post subject:
PostPosted: Tue Feb 19, 2008 8:05 pm 
Offline
Junior Member

Joined: Sun Dec 30, 2007 3:11 pm
Posts: 30
Website: http://www.triptoy.net
Doh! Nevermind....

Somehow the permissions were messed up, again? Anyone have a recommendation on the proper permissions to have on public_html and the files within?


Top
   
 Post subject:
PostPosted: Wed Feb 20, 2008 4:51 am 
Offline
Linode Staff
User avatar

Joined: Sat Jun 21, 2003 2:21 pm
Posts: 160
Location: Absecon, NJ
Code:
Directories: 0755 = drwxr-xr-x
Files:       0644 = -rw-r--r--
CGIs:        0755 = -rwxr-xr-x

I've see strange problems where file permissions were changing for no apparent reason. It was because of the [FTP|SFTP] client software used to transfer files to the server. If you're seeing that, get a better client.


Top
   
 Post subject: Try a site manaager.
PostPosted: Wed Feb 20, 2008 9:49 pm 
Offline
Senior Newbie

Joined: Tue Feb 19, 2008 11:13 pm
Posts: 16
I use ISPConfig (http://www.ispconfig.org) to manage lots of websites with email (including antivirus and antispam), ftp, and other functionality. It's a free product and eases the administrative burden of server management.

_________________
Add fun puzzles to your site: BlogPuzzles.net


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