Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
apache - vhost - NAT <solved>
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
~L~
Apprentice
Apprentice


Joined: 15 Feb 2004
Posts: 154
Location: Finland

PostPosted: Wed Nov 17, 2004 8:55 am    Post subject: apache - vhost - NAT <solved> Reply with quote

Hi,

I have problems accessing my website from a server that it is on. It's a virtual host and I can access it just fine outside of the LAN but not from the server I am running the apache. I get "authorization reguired for home gateway"

I can however access localhost with
links http://localhost
links http://10.0.0.20
so I think there might be a solution. But what?

Thanks for reading.


Last edited by ~L~ on Wed Nov 17, 2004 7:40 pm; edited 1 time in total
Back to top
View user's profile Send private message
~L~
Apprentice
Apprentice


Joined: 15 Feb 2004
Posts: 154
Location: Finland

PostPosted: Wed Nov 17, 2004 7:40 pm    Post subject: Reply with quote

Quite simple solution:I added virtual hosts to /etc/hosts

10.0.0.20 www.mysite.mydomain.org

And it works :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
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
You cannot vote in polls in this forum