shared IP with third level domain

Discussion in 'Installation/Configuration' started by stefan, Jun 9, 2007.

  1. stefan

    stefan New Member

    Hello all :)
    I have 4 sites running with two IP 's and there is no problem. Now I want setup a third level domain with another customer (but same domain.tld) and its not working. I create for that a new web:
    "host.thirdlevel.domain.tld" and getting the shared IP error and the content is not displayed.
    What have I done wrong?


    can someone help?

    tia
    stefan
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Put:

    host.thirdlevel in the hostname field and domain.tld in the domain field of the website and make sure that a DNS A-Record for your third level domain exists and points to your server IP address. If you are in a NAT enviroment behind a router, you must select your internal IP adress for the website.
     
  3. stefan

    stefan New Member

    I have no NAT.
    I do a simple test and set in DNS a new A record so I have test.domain.tld.
    Under my official NAmeserver there is a wildcard entry *.domain.tld and it is resolved successfull.
    but when I point the browser to the new host record test.domain.tld then I get the shared IP error.
    So what is going wrong? I can not browse to another A record nor have access to host.thirdlevel.domain.tld.

    Can someone help?

    tia
    stefan
     
  4. stefan

    stefan New Member

    I tried it with other domains, too. There is the same. Also using co-domain. It is not possible to use more than one DNS record to reach the website.

    Can someone help?

    tia
    stefan
     
  5. falko

    falko Super Moderator Howtoforge Staff

    Can you post the output of
    Code:
    ifconfig
    ? What's in Vhosts_ispconfig.conf? (Please don't replace the real IP addresses.)
     
  6. stefan

    stefan New Member

    the conf is to great, so I put it here:

    http://paste.ubuntu-nl.org/25114/

    and ifconfig

    Code:
    eth0      Protokoll:Ethernet  Hardware Adresse 00:50:22:39:3D:E2
              inet Adresse:212.144.241.130  Bcast:212.144.241.135  Maske:255.255.255.248
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:61377 errors:0 dropped:0 overruns:0 frame:0
              TX packets:60216 errors:0 dropped:0 overruns:0 carrier:0
              Kollisionen:0 Sendewarteschlangenl�nge:1000
              RX bytes:9307336 (8.8 MiB)  TX bytes:15472771 (14.7 MiB)
              Interrupt:5 Basisadresse:0x9400
    
    eth0:0    Protokoll:Ethernet  Hardware Adresse 00:50:22:39:3D:E2
              inet Adresse:212.144.241.131  Bcast:212.144.241.255  Maske:255.255.255.248
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              Interrupt:5 Basisadresse:0x9400
    
    eth0:1    Protokoll:Ethernet  Hardware Adresse 00:50:22:39:3D:E2
              inet Adresse:212.144.241.132  Bcast:212.144.241.255  Maske:255.255.255.248
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              Interrupt:5 Basisadresse:0x9400
    
    eth0:2    Protokoll:Ethernet  Hardware Adresse 00:50:22:39:3D:E2
              inet Adresse:212.144.241.133  Bcast:212.144.241.255  Maske:255.255.255.248
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              Interrupt:5 Basisadresse:0x9400
    
    lo        Protokoll:Lokale Schleife
              inet Adresse:127.0.0.1  Maske:255.0.0.0
              UP LOOPBACK RUNNING  MTU:16436  Metric:1
              RX packets:54907 errors:0 dropped:0 overruns:0 frame:0
              TX packets:54907 errors:0 dropped:0 overruns:0 carrier:0
              Kollisionen:0 Sendewarteschlangenl�nge:0
              RX bytes:4560743 (4.3 MiB)  TX bytes:4560743 (4.3 MiB)
    
    venet0    Protokoll:UNSPEC  Hardware Adresse 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
              UP BROADCAST PUNKTZUPUNKT RUNNING NOARP  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              Kollisionen:0 Sendewarteschlangenl�nge:0
              RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
    
    tia
    stefan
     
  7. mlz

    mlz Member

    I have one domain that I use to assign to clients. Here's what I do, I use the host of www, domain of tld.sld.fld (i.e. somedomain.domain.com) in the domain field. This allows me to assign them to the clients without all the hassells, it's just another domain name that way. However it gets screwy mixing the 3 level names with 2 level names, at least in my tests in the past, this could be different now.
     
  8. falko

    falko Super Moderator Howtoforge Staff

  9. stefan

    stefan New Member

  10. stefan

    stefan New Member

  11. falko

    falko Super Moderator Howtoforge Staff

    There's no test.nopanicsystems.net and www.test.nopanicsystems.net in Vhosts_ispconfig.conf, that's why you get the Shared-IP page.
    Are you sure you created test.nopanicsystems.net/www.test.nopanicsystems.net in ISPConfig? If so, are there any errors in /home/admispconfig/ispconfig/ispconfig.log? What's the output of
    Code:
    ls -la /root/ispconfig
    ?
    What's the output of
    Code:
    ls -la /path/to/directory_where_Vhosts_ispconfig.conf_is
    ?
     
  12. stefan

    stefan New Member

    yes, this webs are created!

    Code:
    ls -la /root/ispconfig
    insgesamt 100
    drwxr-xr-x  9 root root  4096 2007-06-12 16:52 .
    drwxr-xr-x 13 root root  4096 2007-06-10 14:38 ..
    -rwxr-xr-x  1 root root 34866 2007-06-10 14:37 cronolog
    -rwxr-xr-x  1 root root  9673 2007-06-10 14:37 cronosplit
    drwxr-xr-x 12 root root  4096 2007-06-10 14:06 httpd
    drwxr-xr-x 14 root root  4096 2007-06-10 14:37 isp
    -rw-r--r--  1 root root     8 2007-06-12 16:51 .old_path_httpd_root
    drwxr-xr-x  6 root root  4096 2007-06-10 14:05 openssl
    drwxr-xr-x  6 root root  4096 2007-06-10 14:37 php
    drwxr-xr-x  4 root root  4096 2007-06-10 14:37 scripts
    drwxr-xr-x  4 root root  4096 2007-06-10 14:37 standard_cgis
    drwxr-xr-x  2 root root  4096 2007-06-10 14:37 sv
    -rwx------  1 root root  9389 2007-06-10 14:37 uninstall
    
    Code:
    ls -la /etc/apache2/vhosts/Vhosts_ispconfig.conf
    -rw-r--r-- 1 root root 13081 2007-06-12 16:51 /etc/apache2/vhosts/Vhosts_ispconfig.conf
    
    tia
    stefan
     
  13. till

    till Super Moderator Staff Member ISPConfig Developer

    Falko meant that you please post the output of:

    ls -la /etc/apache2/vhosts/

    and not:

    ls -la /etc/apache2/vhosts/Vhosts_ispconfig.conf
     
  14. stefan

    stefan New Member

    ähmm, okay ;)

    Code:
    willy:~# ls -la /etc/apache2/vhosts/
    total 1712
    drwxr-xr-x 2 root root  8192 Jun 12 16:51 .
    drwxr-xr-x 9 root root  4096 May 27 23:20 ..
    -rw-r--r-- 1 root root 13081 Jun 12 16:51 Vhosts_ispconfig.conf
    -rw------- 1 root root 13093 Jun 10 00:33 Vhosts_ispconfig.conf.save
    -rw-r--r-- 1 root root 13178 May  1 11:14 Vhosts_ispconfig.conf_01-05-07_11-14-05
    -rw-r--r-- 1 root root 13178 Jun  3 20:54 Vhosts_ispconfig.conf_03-06-07_20-54-07
    -rw-r--r-- 1 root root 13178 Jun  7 21:06 Vhosts_ispconfig.conf_07-06-07_21-06-04
    -rw-r--r-- 1 root root 13178 Jun  7 21:07 Vhosts_ispconfig.conf_07-06-07_21-07-43
    -rw-r--r-- 1 root root 13178 Jun  7 21:30 Vhosts_ispconfig.conf_07-06-07_21-30-12
    -rw-r--r-- 1 root root 13178 Jun  7 21:39 Vhosts_ispconfig.conf_07-06-07_21-39-24
    -rw-r--r-- 1 root root 13178 Jun  7 21:39 Vhosts_ispconfig.conf_07-06-07_21-39-42
    -rw-r--r-- 1 root root 13178 Jun  7 21:40 Vhosts_ispconfig.conf_07-06-07_21-40-21
    -rw-r--r-- 1 root root 13178 Jun  7 21:40 Vhosts_ispconfig.conf_07-06-07_21-40-50
    -rw-r--r-- 1 root root 13178 Jun  7 21:41 Vhosts_ispconfig.conf_07-06-07_21-41-19
    -rw-r--r-- 1 root root 13178 Jun  7 21:41 Vhosts_ispconfig.conf_07-06-07_21-41-39
    -rw-r--r-- 1 root root 13178 Jun  7 21:41 Vhosts_ispconfig.conf_07-06-07_21-41-58
    -rw-r--r-- 1 root root 13178 Jun  7 21:42 Vhosts_ispconfig.conf_07-06-07_21-42-27
    -rw-r--r-- 1 root root 13178 Jun  7 21:42 Vhosts_ispconfig.conf_07-06-07_21-42-56
    -rw-r--r-- 1 root root 13178 Jun  7 21:43 Vhosts_ispconfig.conf_07-06-07_21-43-45
    -rw-r--r-- 1 root root 13178 Jun  8 12:44 Vhosts_ispconfig.conf_08-06-07_12-44-19
    -rw-r--r-- 1 root root 13178 Jun  8 12:45 Vhosts_ispconfig.conf_08-06-07_12-45-00
    -rw-r--r-- 1 root root 13178 Jun  8 13:19 Vhosts_ispconfig.conf_08-06-07_13-19-13
    -rw-r--r-- 1 root root 13178 Jun  8 13:19 Vhosts_ispconfig.conf_08-06-07_13-19-30
    -rw-r--r-- 1 root root 13178 Jun  8 14:24 Vhosts_ispconfig.conf_08-06-07_14-24-17
    -rw-r--r-- 1 root root 13178 Jun  8 17:30 Vhosts_ispconfig.conf_08-06-07_17-30-32
    -rw-r--r-- 1 root root 13178 Jun  8 17:30 Vhosts_ispconfig.conf_08-06-07_17-30-54
    -rw-r--r-- 1 root root 13178 Jun  8 18:12 Vhosts_ispconfig.conf_08-06-07_18-12-28
    -rw-r--r-- 1 root root 13178 Jun  8 19:13 Vhosts_ispconfig.conf_08-06-07_19-13-49
    -rw-r--r-- 1 root root 13178 Jun  8 19:57 Vhosts_ispconfig.conf_08-06-07_19-57-50
    -rw-r--r-- 1 root root 13178 Jun  8 19:58 Vhosts_ispconfig.conf_08-06-07_19-58-29
    -rw-r--r-- 1 root root 13178 Jun  8 21:30 Vhosts_ispconfig.conf_08-06-07_21-30-21
    -rw-r--r-- 1 root root 13178 Jun  8 21:32 Vhosts_ispconfig.conf_08-06-07_21-32-21
    -rw-r--r-- 1 root root 13178 Jun  8 21:53 Vhosts_ispconfig.conf_08-06-07_21-53-04
    -rw-r--r-- 1 root root 13178 Jun  8 21:55 Vhosts_ispconfig.conf_08-06-07_21-55-21
    -rw-r--r-- 1 root root 13178 Jun  8 21:57 Vhosts_ispconfig.conf_08-06-07_21-57-26
    -rw-r--r-- 1 root root 13178 Jun  8 21:58 Vhosts_ispconfig.conf_08-06-07_21-58-07
    -rw-r--r-- 1 root root 13178 Jun  8 21:59 Vhosts_ispconfig.conf_08-06-07_21-59-28
    -rw-r--r-- 1 root root 13178 Jun  8 21:59 Vhosts_ispconfig.conf_08-06-07_21-59-46
    -rw-r--r-- 1 root root 13178 Jun  8 22:01 Vhosts_ispconfig.conf_08-06-07_22-01-07
    -rw-r--r-- 1 root root 13178 Jun  8 22:05 Vhosts_ispconfig.conf_08-06-07_22-05-59
    -rw-r--r-- 1 root root 13178 Jun  8 22:10 Vhosts_ispconfig.conf_08-06-07_22-10-41
    -rw-r--r-- 1 root root 13178 Jun  8 22:14 Vhosts_ispconfig.conf_08-06-07_22-14-26
    -rw-r--r-- 1 root root 14884 Jun  9 10:47 Vhosts_ispconfig.conf_09-06-07_10-47-40
    -rw-r--r-- 1 root root 14884 Jun  9 10:49 Vhosts_ispconfig.conf_09-06-07_10-49-30
    -rw-r--r-- 1 root root 13178 Jun  9 10:51 Vhosts_ispconfig.conf_09-06-07_10-51-50
    -rw-r--r-- 1 root root 13178 Jun  9 10:52 Vhosts_ispconfig.conf_09-06-07_10-52-37
    -rw-r--r-- 1 root root 14884 Jun  9 10:53 Vhosts_ispconfig.conf_09-06-07_10-53-36
    -rw-r--r-- 1 root root 13178 Jun  9 11:00 Vhosts_ispconfig.conf_09-06-07_11-00-37
    -rw-r--r-- 1 root root 13178 Jun  9 11:00 Vhosts_ispconfig.conf_09-06-07_11-00-59
    -rw-r--r-- 1 root root 13178 Jun  9 11:01 Vhosts_ispconfig.conf_09-06-07_11-01-26
    -rw-r--r-- 1 root root 14884 Jun  9 11:03 Vhosts_ispconfig.conf_09-06-07_11-03-06
    -rw-r--r-- 1 root root 14884 Jun  9 12:19 Vhosts_ispconfig.conf_09-06-07_12-19-13
    -rw-r--r-- 1 root root 14884 Jun  9 12:36 Vhosts_ispconfig.conf_09-06-07_12-36-31
    -rw-r--r-- 1 root root 14884 Jun  9 13:17 Vhosts_ispconfig.conf_09-06-07_13-17-21
    -rw-r--r-- 1 root root 14884 Jun  9 14:31 Vhosts_ispconfig.conf_09-06-07_14-31-19
    -rw-r--r-- 1 root root 14884 Jun  9 14:33 Vhosts_ispconfig.conf_09-06-07_14-33-17
    -rw-r--r-- 1 root root 14884 Jun  9 20:01 Vhosts_ispconfig.conf_09-06-07_20-01-53
    -rw-r--r-- 1 root root 14884 Jun  9 21:17 Vhosts_ispconfig.conf_09-06-07_21-17-51
    -rw-r--r-- 1 root root 16537 Jun  9 21:22 Vhosts_ispconfig.conf_09-06-07_21-22-56
    -rw-r--r-- 1 root root 14884 Jun  9 21:30 Vhosts_ispconfig.conf_09-06-07_21-30-09
    -rw-r--r-- 1 root root 13178 Jun  9 21:30 Vhosts_ispconfig.conf_09-06-07_21-30-28
    -rw-r--r-- 1 root root 13178 Jun  9 21:30 Vhosts_ispconfig.conf_09-06-07_21-30-46
    -rw-r--r-- 1 root root 13178 Jun  9 21:31 Vhosts_ispconfig.conf_09-06-07_21-31-05
    -rw-r--r-- 1 root root 13178 Jun  9 21:31 Vhosts_ispconfig.conf_09-06-07_21-31-25
    -rw-r--r-- 1 root root 14724 Jun  9 21:33 Vhosts_ispconfig.conf_09-06-07_21-33-03
    -rw-r--r-- 1 root root 14724 Jun  9 21:47 Vhosts_ispconfig.conf_09-06-07_21-47-37
    -rw-r--r-- 1 root root 14724 Jun  9 21:50 Vhosts_ispconfig.conf_09-06-07_21-50-10
    -rw-r--r-- 1 root root 14724 Jun  9 21:59 Vhosts_ispconfig.conf_09-06-07_21-59-42
    -rw-r--r-- 1 root root 13178 Jun  9 22:03 Vhosts_ispconfig.conf_09-06-07_22-03-21
    -rw-r--r-- 1 root root 13178 Jun  9 22:04 Vhosts_ispconfig.conf_09-06-07_22-04-19
    -rw-r--r-- 1 root root 14200 Jun  9 22:05 Vhosts_ispconfig.conf_09-06-07_22-05-18
    -rw-r--r-- 1 root root 14200 Jun  9 22:06 Vhosts_ispconfig.conf_09-06-07_22-06-46
    -rw-r--r-- 1 root root 14200 Jun  9 22:07 Vhosts_ispconfig.conf_09-06-07_22-07-14
    -rw-r--r-- 1 root root 14200 Jun  9 22:08 Vhosts_ispconfig.conf_09-06-07_22-08-41
    -rw-r--r-- 1 root root 13178 Jun  9 22:09 Vhosts_ispconfig.conf_09-06-07_22-09-10
    -rw-r--r-- 1 root root 13178 Jun  9 22:09 Vhosts_ispconfig.conf_09-06-07_22-09-49
    -rw-r--r-- 1 root root 14200 Jun  9 22:10 Vhosts_ispconfig.conf_09-06-07_22-10-38
    -rw-r--r-- 1 root root 14200 Jun  9 22:17 Vhosts_ispconfig.conf_09-06-07_22-17-13
    -rw-r--r-- 1 root root 12374 Mar 10 19:14 Vhosts_ispconfig.conf_10-03-07_19-14-49
    -rw-r--r-- 1 root root 12428 Mar 10 19:52 Vhosts_ispconfig.conf_10-03-07_19-52-19
    -rw-r--r-- 1 root root 12430 Mar 10 19:52 Vhosts_ispconfig.conf_10-03-07_19-52-48
    -rw-r--r-- 1 root root 13178 Jun 10 14:38 Vhosts_ispconfig.conf_10-06-07_14-38-22
    -rw-r--r-- 1 root root 13178 Jun 10 14:41 Vhosts_ispconfig.conf_10-06-07_14-41-37
    -rw-r--r-- 1 root root 14200 Jun 10 14:59 Vhosts_ispconfig.conf_10-06-07_14-59-05
    -rw-r--r-- 1 root root 14200 Jun 10 15:10 Vhosts_ispconfig.conf_10-06-07_15-10-44
    -rw-r--r-- 1 root root 14200 Jun 10 15:11 Vhosts_ispconfig.conf_10-06-07_15-11-04
    -rw-r--r-- 1 root root 14189 Jun 10 15:13 Vhosts_ispconfig.conf_10-06-07_15-13-32
    -rw-r--r-- 1 root root 14189 Jun 10 15:17 Vhosts_ispconfig.conf_10-06-07_15-17-05
    -rw-r--r-- 1 root root 13178 Jun 10 15:17 Vhosts_ispconfig.conf_10-06-07_15-17-32
    -rw-r--r-- 1 root root 13178 Jun 10 15:18 Vhosts_ispconfig.conf_10-06-07_15-18-29
    -rw-r--r-- 1 root root 13178 Jun 10 15:18 Vhosts_ispconfig.conf_10-06-07_15-18-45
    -rw-r--r-- 1 root root 13178 Jun 10 15:24 Vhosts_ispconfig.conf_10-06-07_15-24-17
    -rw-r--r-- 1 root root 13228 Jun 10 15:53 Vhosts_ispconfig.conf_10-06-07_15-53-29
    -rw-r--r-- 1 root root 13228 Jun 10 16:44 Vhosts_ispconfig.conf_10-06-07_16-44-45
    -rw-r--r-- 1 root root 13255 Jun 10 16:46 Vhosts_ispconfig.conf_10-06-07_16-46-44
    -rw-r--r-- 1 root root 13273 Jun 10 20:43 Vhosts_ispconfig.conf_10-06-07_20-43-25
    -rw-r--r-- 1 root root 13205 Jun 10 20:44 Vhosts_ispconfig.conf_10-06-07_20-44-45
    -rw-r--r-- 1 root root 13205 Jun 10 20:45 Vhosts_ispconfig.conf_10-06-07_20-45-08
    -rw-r--r-- 1 root root 13205 Jun 10 20:46 Vhosts_ispconfig.conf_10-06-07_20-46-25
    -rw-r--r-- 1 root root 13205 Jun 10 21:43 Vhosts_ispconfig.conf_10-06-07_21-43-36
    -rw-r--r-- 1 root root 13205 Jun 12 16:33 Vhosts_ispconfig.conf_12-06-07_16-33-57
    -rw-r--r-- 1 root root 13253 Jun 12 16:38 Vhosts_ispconfig.conf_12-06-07_16-38-41
    -rw-r--r-- 1 root root 14251 Jun 12 16:40 Vhosts_ispconfig.conf_12-06-07_16-40-14
    -rw-r--r-- 1 root root 14251 Jun 12 16:51 Vhosts_ispconfig.conf_12-06-07_16-51-04
    -rw-r--r-- 1 root root 13178 May 27 22:38 Vhosts_ispconfig.conf_27-05-07_22-38-53
    -rw-r--r-- 1 root root 13178 May 27 22:42 Vhosts_ispconfig.conf_27-05-07_22-42-54
    -rw-r--r-- 1 root root 13178 May 27 22:43 Vhosts_ispconfig.conf_27-05-07_22-43-13
    -rw-r--r-- 1 root root 13178 May 27 23:25 Vhosts_ispconfig.conf_27-05-07_23-25-30
    willy:~#                                                                                   
    tia
    stefan
     
  15. till

    till Super Moderator Staff Member ISPConfig Developer

  16. stefan

    stefan New Member

    okay, its now clear. I had cgi enabled and did some manual apache derictives for mailman manualy. Disable cgi, or comment out the cgi in derectives makes it working. aha ! :)

    thanks to all for help!

    stefan
     

Share This Page