
8th February 2006, 06:05
|
|
Senior Member
|
|
Join Date: Jan 2006
Posts: 139
Thanks: 2
Thanked 0 Times in 0 Posts
|
|
Virtual hosting with Apache not working
Hi folks,
We need to create a virtual server for ispconfig.It's currently running on
https port 81. but not working for the following configurations .Here is vhosts.d file contents
Please look at this .All comments are welcome.
DocumentRoot /home/admispconfig/ispconfig/web/
<Directory "/home/admispconfig/ispconfig/web/">
allow from all
Options +Indexes
</Directory>
SSLEngine on
SSLCertificateFile /root/ispconfig/httpd/conf/ssl.csr/server.csr
SSLCertificateKeyFile /root/ispconfig/httpd/conf/ssl.csr/server.key
SSLProtocol +SSLv2 +TLSv1
ServerAlias admin.example.com
UserDir "/home/admispconfig/ispconfig/web/"
Thx in advance,
gimhan
|

8th February 2006, 10:37
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,594 Times in 2,445 Posts
|
|
What exactly is not working?
|

8th February 2006, 10:45
|
|
Senior Member
|
|
Join Date: Jan 2006
Posts: 139
Thanks: 2
Thanked 0 Times in 0 Posts
|
|
Quote:
|
Originally Posted by falko
What exactly is not working?
|
my ispconfig is running on port 81 with https.I need to access it with a record alias.cosmoforge.com.I set the virtual server configuration as i mention above.But it dosent work.Page cannot be displayed
Last edited by gimhan90; 8th February 2006 at 14:12.
|

8th February 2006, 16:14
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,594 Times in 2,445 Posts
|
|
You mean you want to access ISPConfig using https://alias.cosmoforge.com:81?
Set the URL to https://alias.cosmoforge.com:81 in /home/admispconfig/ispconfig/lib/config.inc.php, then replace admin.example.com with alias.cosmoforge.com in /root/ispconfig/httpd/conf/httpd.conf and restart ISPConfig:
Code:
/etc/init.d/ispconfig_server restart
Of course, alias.cosmoforge.com must point to your ISPConfig server.
|

9th February 2006, 04:51
|
|
Senior Member
|
|
Join Date: Jan 2006
Posts: 139
Thanks: 2
Thanked 0 Times in 0 Posts
|
|
Quote:
|
Originally Posted by falko
You mean you want to access ISPConfig using https://alias.cosmoforge.com:81?
Set the URL to https://alias.cosmoforge.com:81 in /home/admispconfig/ispconfig/lib/config.inc.php, then replace admin.example.com with alias.cosmoforge.com in /root/ispconfig/httpd/conf/httpd.conf and restart ISPConfig:
Code:
/etc/init.d/ispconfig_server restart
Of course, alias.cosmoforge.com must point to your ISPConfig server.
|
Can't i access the ispconfig with out entering the port no ,
like https://alias.cosmoforge.com instead of https://www.cosmoforge.com:81
|

9th February 2006, 09:30
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,911
Thanks: 693
Thanked 4,196 Times in 3,212 Posts
|
|
The ISPConfig webserver is listening only on port 81. If you want to access ISPConfig without specifying a port in the URL, you need a dedicated IP for the ISPConfig apache webserver.
|

9th February 2006, 09:49
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,594 Times in 2,445 Posts
|
|
You could create a file index.php in alias.cosmoforge.com which redirects to https://www.cosmoforge.com:81:
PHP Code:
<?php
header("Location: https://www.cosmoforge.com:81"); /* Redirect browser */
/* Make sure that code below does not get executed when we redirect. */
exit;
?>
|

10th February 2006, 04:57
|
|
Senior Member
|
|
Join Date: Jan 2006
Posts: 139
Thanks: 2
Thanked 0 Times in 0 Posts
|
|
Quote:
|
Originally Posted by till
The ISPConfig webserver is listening only on port 81. If you want to access ISPConfig without specifying a port in the URL, you need a dedicated IP for the ISPConfig apache webserver.
|
Could you please direct me how to do that if i have a dedicated ip ?
suppose i have an ip address named 66.241.123.143
could u pls tel me the steps i have to follow to do this ?
Thx in adavance,
gimhan
|

10th February 2006, 09:39
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,911
Thanks: 693
Thanked 4,196 Times in 3,212 Posts
|
|
Quote:
|
Originally Posted by gimhan90
Could you please direct me how to do that if i have a dedicated ip ?
suppose i have an ip address named 66.241.123.143
could u pls tel me the steps i have to follow to do this ?
Thx in adavance,
gimhan
|
I meant a dedicated IP for the ISPCOnfig webserver that listens on port 81. This means he minimum for this configuration are 2 IP addresses, one for the ISPCOnfig apache and one for the main apache webserver.
|

10th February 2006, 11:02
|
|
Senior Member
|
|
Join Date: Jan 2006
Posts: 139
Thanks: 2
Thanked 0 Times in 0 Posts
|
|
Quote:
|
Originally Posted by till
I meant a dedicated IP for the ISPCOnfig webserver that listens on port 81. This means he minimum for this configuration are 2 IP addresses, one for the ISPCOnfig apache and one for the main apache webserver.
|
How can we configure it ? Do we need to dirtect the port (81) through DNS server ?
or .. any ither process
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 20:55.
|
Recent comments
21 hours 2 min ago
21 hours 8 min ago
1 day 2 hours ago
1 day 8 hours ago
1 day 9 hours ago
1 day 10 hours ago
1 day 15 hours ago
1 day 21 hours ago
2 days 1 hour ago
2 days 3 hours ago