Hi I am running ISPConfig on a Fedora 6 box. DNS, Mail are working fine. I can access the GUI on https port 81, webmin on https 10000 and I have another application listening on 880 which works fine. The sharedip displays when I access the server ip address or host name. I have loaded some customer webs and these have been added to the Vhosts_ispconfig.conf file. Httpd loads without any errors but I am unable to view anything but the sharedip page. I have checked that each domain has a DNS entry to the server. I know I am missing something here. Can someone please help ?. Thanks in advance, John
1) You can not access websites created in ISPConfig by IP, you always have to use the domain of the iste. 2) Make sure that you selected the correct IP for the sites. If your server is in a NAT enviroment (behind a router), you will have to select the internal IP for the site.
HiTill, Please check this out. If I try to telnet to the web server I get: My DNS reports: ;; QUESTION SECTION: ;www2.2ndbreath.co.za. IN A ;; ANSWER SECTION: www2.2ndbreath.co.za. 600 IN A 196.32.160.23 If I try to telnet to the web server using the servername I get: [root@ps3 ~]# telnet ps3.venturenet.co.za 80 Trying ::1... telnet: connect to address ::1: Connection refused Trying 196.32.160.23... telnet: connect to address 196.32.160.23: Connection refused telnet: Unable to connect to remote host: Connection refused my /etc/hosts file looks like this: # Do not remove the following line, or various programs # that require network functionality will fail. 127.0.0.1 localhost.localdomain localhost 196.32.160.23 ps3.venturenet.co.za ps3 ::1 ps3.venturenet.co.za ps3 localhost.localdomain localhost If I use my browser to http://196.32.160.23 i get sharedip which is right. Otherwise I am unable to connect either via telnet or browser: [root@ps3 ~]# telnet www2.2ndbreath.co.za 80 Trying 196.32.160.23... telnet: connect to address 196.32.160.23: Connection refused telnet: Unable to connect to remote host: Connection refused [root@ps3 ~]# Hope this helps.
HiTill, Please check this out. If I try to telnet to the web server I get: My DNS reports: ;; QUESTION SECTION: ;www2.2ndbreath.co.za. IN A ;; ANSWER SECTION: www2.2ndbreath.co.za. 600 IN A 196.32.160.23 If I try to telnet to the web server using the servername I get: [root@ps3 ~]# telnet ps3.venturenet.co.za 80 Trying ::1... telnet: connect to address ::1: Connection refused Trying 196.32.160.23... telnet: connect to address 196.32.160.23: Connection refused telnet: Unable to connect to remote host: Connection refused my /etc/hosts file looks like this: # Do not remove the following line, or various programs # that require network functionality will fail. 127.0.0.1 localhost.localdomain localhost 196.32.160.23 ps3.venturenet.co.za ps3 ::1 ps3.venturenet.co.za ps3 localhost.localdomain localhost If I use my browser to http://196.32.160.23 i get sharedip which is right. Otherwise I am unable to connect either via telnet or browser: [root@ps3 ~]# telnet www2.2ndbreath.co.za 80 Trying 196.32.160.23... telnet: connect to address 196.32.160.23: Connection refused telnet: Unable to connect to remote host: Connection refused [root@ps3 ~]# Hope this helps.
What's in Vhosts_ispconfig.conf, and what's the output of Code: ifconfig ? What's the output of Code: netstat -tap ?
Hi Falko, Sorry for the delay, was away. Thanks for the help.... VHosts_ispconfig.conf: ################################### # # ISPConfig vHost Configuration File # Version 1.0 # ################################### # NameVirtualHost 196.32.160.23:80 #<VirtualHost 196.32.160.23:80> ServerName localhost ServerAdmin root@localhost DocumentRoot /var/www/sharedip #</VirtualHost> # # ###################################### # Vhost: www.bbbinc.co.za:80 ###################################### # # #<VirtualHost 196.32.160.23:80> #ServerName www.bbbinc.co.za:80 #ServerAdmin [email protected] DocumentRoot /var/www/web170/web ServerAlias bbbinc.co.za DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Default.htm default.htm ErrorLog /var/www/web170/log/error.log Alias /error/ "/var/www/web170/web/error/" ErrorDocument 400 /error/invalidSyntax.html ErrorDocument 401 /error/authorizationRequired.html ErrorDocument 403 /error/forbidden.html ErrorDocument 404 /error/fileNotFound.html ErrorDocument 405 /error/methodNotAllowed.html ErrorDocument 500 /error/internalServerError.html ErrorDocument 503 /error/overloaded.html AliasMatch ^/~([^/]+)(/(.*))? /var/www/web170/user/$1/web/$3 AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web170/user/$1/web/$3 #</VirtualHost> # # # ###################################### # Vhost: www2.dezzi.co.za:80 ifconfig: eth0 Link encap:Ethernet HWaddr 00:03:47:31:EC:50 inet addr:196.32.160.23 Bcast:196.32.160.63 Mask:255.255.255.192 inet6 addr: fe80::203:47ff:fe31:ec50/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:4398203 errors:0 dropped:0 overruns:0 frame:0 TX packets:3880998 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:1649109587 (1.5 GiB) TX bytes:1742736079 (1.6 GiB) Base address:0x2040 Memory:feac0000-feae0000 eth0:0 Link encap:Ethernet HWaddr 00:03:47:31:EC:50 inet addr:196.32.160.22 Bcast:196.32.160.63 Mask:255.255.255.192 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Base address:0x2040 Memory:feac0000-feae0000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:2297711 errors:0 dropped:0 overruns:0 frame:0 TX packets:2297711 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:386895239 (368.9 MiB) TX bytes:386895239 (368.9 MiB) Sorry about the next one. Quite long netstat -tap: netstat -tap Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 *:mysql *:* LISTEN 3510/mysqld tcp 0 0 *:sunrpc *:* LISTEN 2737/portmap tcp 0 0 *:ndmp *:* LISTEN 3912/perl tcp 0 0 ebriefs.co.za:880 *:* LISTEN 3892/httpd tcp 0 0 localhost.localdomain:http *:* LISTEN 3716/httpd tcp 0 0 ebriefs.co.za:http *:* LISTEN 3716/httpd tcp 0 0 *:hosts2-ns *:* LISTEN 3545/ispconfig_http tcp 0 0 *:820 *:* LISTEN 2758/rpc.statd tcp 0 0 www.scds.co.za:domain *:* LISTEN 26052/named tcp 0 0 ebriefs.co.za:domain *:* LISTEN 26052/named tcp 0 0 localhost.localdomai:domain *:* LISTEN 26052/named tcp 0 0 localhost.localdomain:ipp *:* LISTEN 2977/cupsd tcp 0 0 localhost.localdomostgres *:* LISTEN 3066/postmaster tcp 0 0 localhost.localdomain:rndc *:* LISTEN 26052/named tcp 0 0 *:smtp *:* LISTEN 17459/master tcp 0 0 localhost.lo:x11-ssh-offset *:* LISTEN 318/1 tcp 0 0 localhost.localdomain:48870 localhost.localdomain:ssh TIME_WAIT - tcp 0 0 localhost.localdomain:48872 localhost.localdomain:ssh TIME_WAIT - tcp 0 0 localhost.localdomain:48865 localhost.localdomain:ssh TIME_WAIT - tcp 0 0 localhost.localdomain:48863 localhost.localdomain:ssh TIME_WAIT - tcp 0 0 ebriefs.co.za:smtp mx1.maxiprest.com:49939 ESTABLISHED 26394/smtpd tcp 1 0 ebriefs.co.za:49059 169.237.215.148:http CLOSE_WAIT 3300/python tcp 0 0 localhost.localdomain:48866 localhost.localdomain:ssh TIME_WAIT - tcp 0 0 ebriefs.co.za:smtp 80.85.187.111:51606 ESTABLISHED 25111/smtpd tcp 1 0 ebriefs.co.za:42784 mirror.web-ster.com:http CLOSE_WAIT 3300/python tcp 0 0 localhost.localdomain:48860 localhost.localdomain:ssh TIME_WAIT - tcp 0 0 ebriefs.co.za:36728 ebriefs.co.za:domain TIME_WAIT - tcp 0 0 localhost.localdomain:48875 localhost.localdomain:ssh TIME_WAIT - tcp 0 0 localhost.localdomain:48862 localhost.localdomain:ssh TIME_WAIT - tcp 0 0 localhost.localdomain:48880 localhost.localdomain:ssh TIME_WAIT - tcp 0 0 localhost.localdomain:48873 localhost.localdomain:ssh TIME_WAIT - tcp 1 0 ebriefs.co.za:54199 wiki.fedoraproject.org:http CLOSE_WAIT 3300/python tcp 0 0 ebriefs.co.za:32800 mxi02.mxrc.co.za:smtp ESTABLISHED 21519/smtp tcp 0 0 ebriefs.co.za:smtp smtp.netcomsa.net:35617 TIME_WAIT - tcp 0 0 localhost.localdomain:48869 localhost.localdomain:ssh TIME_WAIT - tcp 0 0 localhost.localdomain:48871 localhost.localdomain:ssh TIME_WAIT - tcp 0 0 localhost.localdomain:48874 localhost.localdomain:ssh TIME_WAIT - tcp 1 0 ebriefs.co.za:54802 gir.rit.edu:http CLOSE_WAIT 3300/python tcp 0 0 localhost.localdomain:48868 localhost.localdomain:ssh TIME_WAIT - tcp 0 0 localhost.localdomain:48864 localhost.localdomain:ssh TIME_WAIT - tcp 0 0 ebriefs.co.za:smtp 200-138-57-35.cscgo70:26021 TIME_WAIT - tcp 0 0 localhost.localdomain:48861 localhost.localdomain:ssh TIME_WAIT - tcp 0 0 localhost.localdomain:48867 localhost.localdomain:ssh TIME_WAIT - tcp 0 0 *:imaps *:* LISTEN 3080/dovecot tcp 0 0 *op3s *:* LISTEN 3080/dovecot tcp 0 0 *op3 *:* LISTEN 3080/dovecot tcp 0 0 *:imap *:* LISTEN 3080/dovecot tcp 0 0 *:ftp *:* LISTEN 3164/proftpd: (acce tcp 0 0 *:ssh *:* LISTEN 2991/sshd tcp 0 0 ps3.venturenet.co.za:ipp *:* LISTEN 2977/cupsd tcp 0 0 ps3.venturenet.co.ostgres *:* LISTEN 3066/postmaster tcp 0 0 ps3.venturenet.co.za:rndc *:* LISTEN 26052/named tcp 0 0 ps3.venturen:x11-ssh-offset *:* LISTEN 318/1 tcp 0 0 hfslaw.co.zaop3 ::ffff:196.32.160.ammratc TIME_WAIT - tcp 0 144 www2.2ndbreath.co.za:ssh ::ffff:196.32.160:newlixreg ESTABLISHED 318/1 tcp 0 0 mail.accomodationagencop3 dsl-244-75-190.telkom:20955 TIME_WAIT - tcp 0 0 mail.hibiscuscoast.orgop3 dsl-244-75-190.telkom:20960 TIME_WAIT - [root@ps3 vhosts]#
Looks ok, and I can connect to www2.2ndbreath.co.za without problems. Please try a browser instead of telnet.