Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 12th July 2007, 20:49
veggieryan veggieryan is offline
Junior Member
 
Join Date: Apr 2007
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Question 2nd IP for ssl on single/many sites.

1. I have a VPS ubuntu box with ispconfig and two IP's

2. I add a domain and assign it the second ip and enable ssl

3. I generate the ssl and save it.

4. i goto the domain http://domain.com and get the " This IP address is shared. For access to the web site which you look for, enter its address instead of its IP.

For questions or problems please contact the server administrator." error.

5. https://domain.com is not found.


What am I doing wrong? the domain is remixer.org if you can tell anything remotely
Reply With Quote
Sponsored Links
  #2  
Old 13th July 2007, 13:33
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,727 Times in 2,565 Posts
Default

What's in Vhosts_ispconfig.conf? What's the output of
Code:
netstat -tap
? Is port 443 allowd through your firewall?
__________________
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
  #3  
Old 14th July 2007, 01:27
veggieryan veggieryan is offline
Junior Member
 
Join Date: Apr 2007
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default

netstap -tap
Code:
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name   
tcp        0      0 *:996                   *:*                     LISTEN     3357/rpc.statd      
tcp        0      0 *:mysql                 *:*                     LISTEN     3092/mysqld         
tcp        0      0 *:sunrpc                *:*                     LISTEN     2283/portmap        
tcp        0      0 *:81                    *:*                     LISTEN     12689/ispconfig_htt 
tcp        0      0 *:ftp                   *:*                     LISTEN     23228/proftpd: (acc 
tcp        0      0 server1.fractalg:domain *:*                     LISTEN     15253/named         
tcp        0      0 localhost.locald:domain *:*                     LISTEN     15253/named         
tcp        0      0 localhost.localdom:8118 *:*                     LISTEN     29871/privoxy       
tcp        0      0 *:50008                 *:*                     LISTEN     2582/ccsd           
tcp        0      0 *:smtp                  *:*                     LISTEN     23465/master        
tcp        0      0 localhost.localdoma:953 *:*                     LISTEN     15253/named         
tcp        0      0 localhost.localdom:9050 *:*                     LISTEN     3292/tor            
tcp6       0      0 *:imaps                 *:*                     LISTEN     2933/couriertcpd    
tcp6       0      0 *:pop3s                 *:*                     LISTEN     2968/couriertcpd    
tcp6       0      0 *:pop3                  *:*                     LISTEN     2948/couriertcpd    
tcp6       0      0 *:imap2                 *:*                     LISTEN     2913/couriertcpd    
tcp6       0      0 *:www                   *:*                     LISTEN     13704/apache2       
tcp6       0      0 *:ssh                   *:*                     LISTEN     3283/sshd           
tcp6       0      0 ip6-localhost:50006     *:*                     LISTEN     2582/ccsd           
tcp6       0      0 *:smtp                  *:*                     LISTEN     23465/master        
tcp6       0      0 ip6-localhost:953       *:*                     LISTEN     15253/named         
tcp6       0      0 *:50009                 *:*                     LISTEN     2582/ccsd           
tcp6       0      0 server1.fractalgrou:www c-76-21-101-67.hs:62173 TIME_WAIT  -                   
tcp6       0      0 server1.fractalgr:imap2 c-76-21-101-67.hs:61820 ESTABLISHED16389/imapd         
tcp6       0      0 server1.fractalgrou:www server1.fractalgro:4591 TIME_WAIT  -                   
tcp6       0      0 server1.fractalgrou:www c-76-21-101-67.hs:62183 TIME_WAIT  -                   
tcp6       0      0 server1.fractalgrou:www c-76-21-101-67.hs:62182 TIME_WAIT  -                   
tcp6       0      0 server1.fractalgrou:www c-76-21-101-67.hs:62181 TIME_WAIT  -                   
tcp6       0      0 server1.fractalgrou:www c-76-21-101-67.hs:62180 TIME_WAIT  -                   
tcp6       0      0 server1.fractalgrou:www c-76-21-101-67.hs:62191 TIME_WAIT  -                   
tcp6       0      0 server1.fractalgrou:www c-76-21-101-67.hs:62190 TIME_WAIT  -                   
tcp6       0      0 server1.fractalgrou:www c-76-21-101-67.hs:62189 TIME_WAIT  -                   
tcp6       0      0 server1.fractalgrou:www c-76-21-101-67.hs:62188 TIME_WAIT  -                   
tcp6       0      0 ip6-localhost:3124      ip6-localhost:www       TIME_WAIT  -                   
tcp6       0      0 ip6-localhost:3126      ip6-localhost:www       TIME_WAIT  -                   
tcp6       0      0 ip6-localhost:3120      ip6-localhost:www       TIME_WAIT  -                   
tcp6       0      0 ip6-localhost:3122      ip6-localhost:www       TIME_WAIT  -                   
tcp6       0      0 ip6-localhost:3116      ip6-localhost:www       TIME_WAIT  -                   
tcp6       0      0 ip6-localhost:3118      ip6-localhost:www       TIME_WAIT  -                   
tcp6       0      0 ip6-localhost:3112      ip6-localhost:www       TIME_WAIT  -                   
tcp6       0      0 ip6-localhost:3114      ip6-localhost:www       TIME_WAIT  -                   
tcp6       0      0 server1.fractalgrou:www c-76-21-101-67.hs:62186 TIME_WAIT  -                   
tcp6       0      1 server1.fractalgrou:ssh fire.tkvs.ylc.edu:51974 LAST_ACK   -                   
tcp6       0      0 server1.fractalgrou:www c-76-21-101-67.hs:62185 TIME_WAIT  -                   
tcp6       0   1808 server1.fractalgrou:ssh c-76-21-101-67.hs:62217 ESTABLISHED17831/0             
tcp6       0      0 server1.fractalgrou:www c-76-21-101-67.hs:62184 TIME_WAIT  -
vhosts_ispconfig.conf
Code:
#
#
#
######################################
# Vhost: www.remixer.org:80
######################################
#
#
<VirtualHost 64.22.71.54:80>
<Directory /var/www/remixer.org/web/>  
Options +Includes +FollowSymlinks -Indexes  
AllowOverride All  
Order allow,deny  
Allow from all  
<Files ~ "^.ht">  
Deny from all  
</Files>  
</Directory>
ServerName www.remixer.org:80
ServerAdmin webmaster@remixer.org
DocumentRoot /var/www/web11/web
ServerAlias remixer.org
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/web11/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 Off
Alias /error/ "/var/www/web11/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/web11/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web11/user/$1/web/$3
</VirtualHost>
#
<IfModule mod_ssl.c>
<VirtualHost 64.22.71.54:443>
<Directory /var/www/remixer.org/web/>  
Options +Includes +FollowSymlinks -Indexes  
AllowOverride All  
Order allow,deny  
Allow from all  
<Files ~ "^.ht">  
Deny from all  
</Files>  
</Directory>
ServerName www.remixer.org:443
ServerAdmin webmaster@remixer.org
DocumentRoot /var/www/web11/web
ServerAlias remixer.org
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/web11/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 Off
SSLEngine on
SSLCertificateFile /var/www/web11/ssl/www.remixer.org.crt
SSLCertificateKeyFile /var/www/web11/ssl/www.remixer.org.key
Alias /error/ "/var/www/web11/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/web11/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web11/user/$1/web/$3
SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown downgrade-1.0 force-response-1.0
</VirtualHost>
</IfModule>
#
#
i setup my ubuntu per the perfect server and do not know how to check for a firewall.
also.. i did not get an instant notification via email as I usually do on this forum...
Reply With Quote
  #4  
Old 14th July 2007, 10:27
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,461
Thanks: 813
Thanked 5,240 Times in 4,108 Posts
Default

Please post the output of:

ifconfig
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 14th July 2007, 22:53
veggieryan veggieryan is offline
Junior Member
 
Join Date: Apr 2007
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default

thanks again

ifconfig
Code:
root@server1:~ # ifconfig
eth0      Link encap:Ethernet  HWaddr FE:FD:40:16:47:35  
          inet addr:64.22.71.53  Bcast:64.22.71.255  Mask:255.255.255.0
          inet6 addr: fe80::fcfd:40ff:fe16:4735/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:120189 errors:0 dropped:0 overruns:0 frame:0
          TX packets:161707 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:12464257 (11.8 MiB)  TX bytes:171325000 (163.3 MiB)
          Interrupt:5 

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:123268 errors:0 dropped:0 overruns:0 frame:0
          TX packets:123268 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:8622996 (8.2 MiB)  TX bytes:8622996 (8.2 MiB)
Reply With Quote
  #6  
Old 15th July 2007, 13:52
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,727 Times in 2,565 Posts
Default

You're uding 64.22.71.54 for the web site, but your server knows only 64.22.71.53...
Please add 64.22.71.54 to your server configuration (either manually, or if you'd like ISPConfig to do it: http://www.howtoforge.com/forums/sho...29&postcount=3
__________________
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
  #7  
Old 17th July 2007, 21:29
veggieryan veggieryan is offline
Junior Member
 
Join Date: Apr 2007
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default hmmm

hmmm,
64.22.71.54 is already in management>>server>> settings>>ip list:

is there another place its supposed listed?
Reply With Quote
  #8  
Old 18th July 2007, 09:03
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,461
Thanks: 813
Thanked 5,240 Times in 4,108 Posts
Default

Please have a look at Falkos post above. Adding it to the IP list is not enough. Either you configure it manually in your network configuration too or you enable the IP configuration as described in the link that Falko posted.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #9  
Old 18th July 2007, 09:27
veggieryan veggieryan is offline
Junior Member
 
Join Date: Apr 2007
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Question

ok,
now I edited /home/admispconfig/ispconfig/lib/config.inc.php
and
set $go_info["server"]["network_config"] to 1.
restart ispconfig_server and reboot machine.

and ifconfig gives

Code:
eth0      Link encap:Ethernet  HWaddr FE:FD:40:16:47:35  
          inet addr:64.22.71.53  Bcast:64.22.71.255  Mask:255.255.255.0
          inet6 addr: fe80::fcfd:40ff:fe16:4735/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:341841 errors:0 dropped:0 overruns:0 frame:0
          TX packets:383043 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:140502581 (133.9 MiB)  TX bytes:310461170 (296.0 MiB)
          Interrupt:5 

eth0:0    Link encap:Ethernet  HWaddr FE:FD:40:16:47:35  
          inet addr:64.22.71.54  Bcast:64.22.71.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:5 

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:373484 errors:0 dropped:0 overruns:0 frame:0
          TX packets:373484 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:34920560 (33.3 MiB)  TX bytes:34920560 (33.3 MiB)
still get same shared ip error page at http://remixer.org and page not found at https://remixer.org
Reply With Quote
  #10  
Old 18th July 2007, 09:33
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,461
Thanks: 813
Thanked 5,240 Times in 4,108 Posts
 
Default

You must remove the IP addresses from the server settings and then readd them again.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
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
Postix and 2nd IP problem (on one of my servrs) edge Server Operation 2 29th June 2007 18:29
all sites are getting "Index of /" page instead of the domain directory jagnag1 Installation/Configuration 3 17th December 2006 12:18
error sites disabled but still indevidual error sites tom Installation/Configuration 3 13th May 2006 12:37
Sites Viewed From Server Go To Shared IP mojosound General 4 3rd April 2006 20:13


All times are GMT +2. The time now is 20:33.


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