Hi, I have 2 ddns addresses with no-ip.org they are both held on the same account. Is it possible for the domain names to go to seperate sites? One of the sites works perfectly, with the other I get the following error message. Thanks, Andy
Ok thats what I was thinking, but i'm using tomato firmware on my router. That would only enable me to have two sites using ddns. I really need a static IP but thats not a option with my ISP. Any ideas please?? Andy
Is the second domain name listed in a separate vhost in Vhosts_ispconfig.conf? It must be listed in ServerName or ServerAlias exactly the way you type it in the browser's address bar (without http://).
The second domain has a different entry to the first one in Vhosts_ispconfig.conf I'm still getting "Shared IP" on the second site. It is possible to have more that one site using ddns? Regards, Andy
Hi here is my ifconfig Code: [email protected]:~$ ifconfig eth0 Link encap:Ethernet HWaddr 00:0c:29:87:38:90 inet addr:192.168.1.5 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::20c:29ff:fe87:3890/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:42193 errors:0 dropped:0 overruns:0 frame:0 TX packets:44333 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:4386324 (4.1 MB) TX bytes:7432749 (7.0 MB) Interrupt:18 Base address:0x2000 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:950 errors:0 dropped:0 overruns:0 frame:0 TX packets:950 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:57022 (55.6 KB) TX bytes:57022 (55.6 KB) The output from Vhosts_ispconfig.conf is Code: ################################### # # ISPConfig vHost Configuration File # Version 1.0 # ################################### # NameVirtualHost 192.168.1.5:80 <VirtualHost 192.168.1.5:80> ServerName localhost ServerAdmin [email protected] DocumentRoot /var/www/sharedip </VirtualHost> # # ###################################### # Vhost: www.skiandy.no-ip.org:80 ###################################### # # <VirtualHost 192.168.1.5:80> ServerName www.skiandy.no-ip.org:80 ServerAdmin [email protected] DocumentRoot /var/www/web2/web ServerAlias skiandy.no-ip.org DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 $ Alias /cgi-bin/ /var/www/web2/cgi-bin/ AddHandler cgi-script .cgi AddHandler cgi-script .pl ErrorLog /var/www/web2/log/error.log AddType application/x-httpd-php .php .php3 .php4 .php5 <Files *.php> SetOutputFilter PHP SetInputFilter PHP </Files> <Files *.php3> SetOutputFilter PHP SetInputFilter PHP </Files> <Files *.php4> SetOutputFilter PHP SetInputFilter PHP </Files> <Files *.php5> SetOutputFilter PHP SetInputFilter PHP </Files> php_admin_flag safe_mode On php_admin_value open_basedir /var/www/web2/ php_admin_value file_uploads 1 php_admin_value upload_tmp_dir /var/www/web2/phptmp/ php_admin_value session.save_path /var/www/web2/phptmp/ AddType text/html .shtml AddOutputFilter INCLUDES .shtml Alias /error/ "/var/www/web2/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/web2/user/$1/web/$3 AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web2/user/$1/web/$3 </VirtualHost> # </VirtualHost> # # # ###################################### # Vhost: www.curtain-maker.no-ip.org:80 ###################################### # # <VirtualHost 192.168.1.5:80> ServerName www.curtain-maker.no-ip.org:80 ServerAdmin [email protected] DocumentRoot /var/www/web5/web ServerAlias curtain-maker.no-ip.org DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 $ Alias /cgi-bin/ /var/www/web5/cgi-bin/ AddHandler cgi-script .cgi AddHandler cgi-script .pl ErrorLog /var/www/web5/log/error.log AddType application/x-httpd-php .php .php3 .php4 .php5 <Files *.php> SetOutputFilter PHP SetInputFilter PHP </Files> <Files *.php3> SetOutputFilter PHP SetInputFilter PHP </Files> <Files *.php4> SetOutputFilter PHP SetInputFilter PHP </Files> <Files *.php5> SetOutputFilter PHP SetInputFilter PHP </Files> php_admin_flag safe_mode On php_admin_value open_basedir /var/www/web5/ php_admin_value file_uploads 1 php_admin_value upload_tmp_dir /var/www/web5/phptmp/ php_admin_value session.save_path /var/www/web5/phptmp/ AddType text/html .shtml AddOutputFilter INCLUDES .shtml Alias /error/ "/var/www/web5/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/web5/user/$1/web/$3 AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web5/user/$1/web/$3 </VirtualHost> # # # The Server Configuration is Ubuntu 8.04 setup form "The perfect server" article. Its running as a VM using VMWare Server 2 beta 2. I have just noticed that bind9 isn't starting, I can get it to start if i remove apparmor however. Thanks, Andy
Code: mh1:~# dig curtain-maker.no-ip.org ; <<>> DiG 9.3.4 <<>> curtain-maker.no-ip.org ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 11049 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;curtain-maker.no-ip.org. IN A ;; ANSWER SECTION: [B][COLOR="Red"]curtain-maker.no-ip.org. 360 IN A 69.65.19.125[/COLOR][/B] ;; Query time: 176 msec ;; SERVER: 213.133.98.98#53(213.133.98.98) ;; WHEN: Thu May 1 20:33:35 2008 ;; MSG SIZE rcvd: 57 mh1:~# dig skiandy.no-ip.org ; <<>> DiG 9.3.4 <<>> skiandy.no-ip.org ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 8029 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;skiandy.no-ip.org. IN A ;; ANSWER SECTION: [B][COLOR="Red"]skiandy.no-ip.org. 60 IN A 82.33.2.208[/COLOR][/B] ;; Query time: 171 msec ;; SERVER: 213.133.98.98#53(213.133.98.98) ;; WHEN: Thu May 1 20:33:52 2008 ;; MSG SIZE rcvd: 51 mh1:~# Your hostnames are pointing to different IP addresses...
thanks for your help Falko, I made a typo with my domain names, it was meant to be curtainmaker.no-ip.org not curtain-maker.no-ip.org I've just modified my settings, Code: [email protected]:~$ dig skiandy.no-ip.org ; <<>> DiG 9.4.2 <<>> skiandy.no-ip.org ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 36112 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;skiandy.no-ip.org. IN A ;; ANSWER SECTION: skiandy.no-ip.org. 60 IN A 82.33.2.208 ;; Query time: 87 msec ;; SERVER: 192.168.1.254#53(192.168.1.254) ;; WHEN: Fri May 2 10:56:32 2008 ;; MSG SIZE rcvd: 51 [email protected]:~$ dig curtainmaker.no-ip.org ; <<>> DiG 9.4.2 <<>> curtainmaker.no-ip.org ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 14473 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;curtainmaker.no-ip.org. IN A ;; ANSWER SECTION: curtainmaker.no-ip.org. 60 IN A 82.33.2.208 ;; Query time: 101 msec ;; SERVER: 192.168.1.254#53(192.168.1.254) ;; WHEN: Fri May 2 10:56:52 2008 ;; MSG SIZE rcvd: 56 Here is my Vhosts_ispconfig.conf Code: ################################### # # ISPConfig vHost Configuration File # Version 1.0 # ################################### # NameVirtualHost 192.168.1.5:80 <VirtualHost 192.168.1.5:80> ServerName localhost ServerAdmin [email protected] DocumentRoot /var/www/sharedip </VirtualHost> # # ###################################### # Vhost: www.skiandy.no-ip.org:80 ###################################### # # <VirtualHost 192.168.1.5:80> ServerName www.skiandy.no-ip.org:80 ServerAdmin [email protected] DocumentRoot /var/www/web2/web ServerAlias skiandy.no-ip.org DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 $ ErrorLog /var/www/web2/log/error.log Alias /error/ "/var/www/web2/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/web2/user/$1/web/$3 AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web2/user/$1/web/$3 </VirtualHost> # # # ###################################### # Vhost: www.curtainmaker.no-ip.org:80 ###################################### # # <VirtualHost 192.168.1.5:80> ServerName www.curtainmaker.no-ip.org:80 ServerAdmin [email protected] DocumentRoot /var/www/web5/web DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 $ ErrorLog /var/www/web5/log/error.log AddType text/html .shtml AddOutputFilter INCLUDES .shtml Alias /error/ "/var/www/web5/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/web5/user/$1/web/$3 AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web5/user/$1/web/$3 </VirtualHost> # # #
Hi, That works just refreashed the browser Thanks so much Falko. I'm curious why is it necessary to add that co-domain? Andy
Hi, I've just noticed that the site is only accessable through http://skiandy.no-ip.org I have no www If I add the co-domain the sites are accessable on the internal network but not externally? Andy
disable bind! hello, had the same problem, and mest up my setup ad the end, but i found that disabeling bind(dns server) on my ispconfig to solve the problem. good luck
You must create the www subdomain at no-ip.org as well. Right now, you've created skiandy.no-ip.org at no-ip.org, but not www.skiandy.no-ip.org. Technically spoken, skiandy.no-ip.org and www.skiandy.no-ip.org are two totally different things. Creating skiandy.no-ip.org doesn't mean that www.skiandy.no-ip.org is created automatically as well.