Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
apache2 hohsts domain problems
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
wolfwolf
n00b
n00b


Joined: 13 Mar 2003
Posts: 29
Location: Atlanta

PostPosted: Fri Jun 25, 2004 7:10 pm    Post subject: apache2 hohsts domain problems Reply with quote

/etc/hostname
--dragon

/etc/dnsdomainname
--nxtech.net

rc-update add domainname default

/etc/hosts
-- 127.0.0.1 dragon.nxtech.net localhost dragon
or -- 127.0.0.1 dragon.nxtech.net dragon localhost

in apache2.conf
Servername dragon

when i access my webpage, it will redirect me to http://www.dragon.net and it is error because www.dragon.net not exists.

Anyone has an idea what i do wrong here?
wolf.
Back to top
View user's profile Send private message
Lajasha
Veteran
Veteran


Joined: 17 Mar 2004
Posts: 1040
Location: Vibe Central

PostPosted: Fri Jun 25, 2004 7:13 pm    Post subject: Reply with quote

try editing /etc/apache2/conf/apache2.conf and use
Code:
ServerName dragon.nxtech.net

_________________
Come and play in my land
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