View previous topic :: View next topic |
Author |
Message |
wolfwolf n00b


Joined: 13 Mar 2003 Posts: 29 Location: Atlanta
|
Posted: Fri Jun 25, 2004 7:10 pm Post subject: apache2 hohsts domain problems |
|
|
/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 |
|
 |
Lajasha Veteran


Joined: 17 Mar 2004 Posts: 1040 Location: Vibe Central
|
Posted: Fri Jun 25, 2004 7:13 pm Post subject: |
|
|
try editing /etc/apache2/conf/apache2.conf and use
Code: | ServerName dragon.nxtech.net |
_________________ Come and play in my land |
|
Back to top |
|
 |
|