#1  
Old 16th November 2008, 12:24
ALonon ALonon is offline
Junior Member
 
Join Date: Nov 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default configuration problem

hello
My os is centos 5.2
i can not add my domain to apache
httpd.conf
Kod:

Code:
NameVirtualHost 94.75.214.13:80
<VirtualHost 94.75.214.13:80>
    ServerAdmin webmaster@xx.net
    DocumentRoot /home/xx/www
    ServerNamexx.net
    ServerAlias www.xx.net
    ErrorLog /home/xx/logs/uldl.net-error_log
    CustomLog /home/uldl/logs/xx.netaccess_log common
</VirtualHost>
where is the problem ?
when i type host xx.net

host xx.net ;; connection timed out; no servers could be reached
thanks
Reply With Quote
Sponsored Links
  #2  
Old 17th November 2008, 09:13
topdog topdog is offline
Senior Member
 
Join Date: Jan 2008
Location: South Africa
Posts: 1,352
Thanks: 0
Thanked 153 Times in 150 Posts
Default

Either firewall is blocking port 80 or port 80 is not listening to that address
__________________
----
http://www.topdog.za.net - Got Linux problems ? - I can help.
http://www.baruwa.org - Try it.
Reply With Quote
  #3  
Old 17th November 2008, 09:15
ALonon ALonon is offline
Junior Member
 
Join Date: Nov 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

in httpd.conf

Code:
Listen 80
isn't it correct ?
Reply With Quote
  #4  
Old 17th November 2008, 09:22
topdog topdog is offline
Senior Member
 
Join Date: Jan 2008
Location: South Africa
Posts: 1,352
Thanks: 0
Thanked 153 Times in 150 Posts
Default

That is correct but check using
Code:
netstat -ntlp
and
Code:
iptables-save
__________________
----
http://www.topdog.za.net - Got Linux problems ? - I can help.
http://www.baruwa.org - Try it.
Reply With Quote
  #5  
Old 17th November 2008, 18:45
ALonon ALonon is offline
Junior Member
 
Join Date: Nov 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

for netstat -ntlp
Code:
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address               Foreign Address             Stat                            e       PID/Program name
tcp        0      0 0.0.0.0:902                 0.0.0.0:*                   LIST                            EN      1992/rpc.statd
tcp        0      0 0.0.0.0:111                 0.0.0.0:*                   LIST                            EN      1955/portmap
tcp        0      0 127.0.0.1:53                0.0.0.0:*                   LIST                            EN      12419/named
tcp        0      0 127.0.0.1:631               0.0.0.0:*                   LIST                            EN      2258/cupsd
tcp        0      0 127.0.0.1:953               0.0.0.0:*                   LIST                            EN      12419/named
tcp        0      0 127.0.0.1:25                0.0.0.0:*                   LIST                            EN      2282/sendmail: acce
tcp        0      0 :::80                       :::*                        LIST                            EN      10476/httpd
tcp        0      0 ::1:53                      :::*                        LIST                            EN      12419/named
tcp        0      0 :::22                       :::*                        LIST                            EN      2243/sshd
tcp        0      0 ::1:953                     :::*                        LIST                            EN      12419/named
there is no output for iptables-save
Reply With Quote
  #6  
Old 18th November 2008, 14:21
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
Default

Quote:
Originally Posted by ALonon View Post
Code:
NameVirtualHost 94.75.214.13:80
<VirtualHost 94.75.214.13:80>
    ServerAdmin webmaster@xx.net
    DocumentRoot /home/xx/www
    ServerNamexx.net
    ServerAlias www.xx.net
    ErrorLog /home/xx/logs/uldl.net-error_log
    CustomLog /home/uldl/logs/xx.netaccess_log common
</VirtualHost>
It must be
Code:
ServerName xx.net
(with a space).
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
403 Forbidden for ISPConfig Admin Pages tazmon95 General 8 6th April 2009 12:10
Loading configuration file lance Kernel Questions 2 28th February 2007 20:40
Postfix Installation and Configuration akomaoako2k Installation/Configuration 1 31st July 2006 09:08
ispconfig and mambo shajazzi Installation/Configuration 70 28th March 2006 19:29
phpmyadmin configuration problem pushembekar Installation/Configuration 8 9th March 2006 21:48


All times are GMT +2. The time now is 00:38.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.