#1  
Old 4th November 2006, 00:00
rseoane rseoane is offline
Junior Member
 
Join Date: Nov 2006
Location: Córdoba, Spain
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default Patch for virtualhost

I'm a newbie in ispc and linux, but I'm working to improve (my english also need to).
My server is behind a router with a local ip (NAT). I redirect ports and now ispc works fine (I think, but I not tested all).
To get it I have to change manually in
/etc/apache2/vhosts/Vhosts_ispconfig.conf

<Virtualhost xxx.xxx.xxx.xxx:80>
Servername mydomain.com:80

by

<Virtualhost *:80>
Servername mydomain.com

I need to know what I have to do for patch my ispc and I don't have to do it manually every time when I create a new site.
Reply With Quote
Sponsored Links
  #2  
Old 4th November 2006, 18:21
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts
Default

Quote:
Originally Posted by rseoane
To get it I have to change manually in
/etc/apache2/vhosts/Vhosts_ispconfig.conf

<Virtualhost xxx.xxx.xxx.xxx:80>
Servername mydomain.com:80

by

<Virtualhost *:80>
Servername mydomain.com
I think your problem is that you're using the wrong IP address in ISPConfig. What's in /etc/apache2/vhosts/Vhosts_ispconfig.conf, and what's the output of
Code:
ifconfig
?
__________________
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 5th November 2006, 11:32
rseoane rseoane is offline
Junior Member
 
Join Date: Nov 2006
Location: Córdoba, Spain
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You're right. I'd change ip sites to local ip and now i can see the sites.
However now I have other problems with ispc control panel access (I have to open ssh sesion simultaneously to access the secure web in port 81).
:-(
Reply With Quote
  #4  
Old 5th November 2006, 13:33
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,022
Thanks: 840
Thanked 5,655 Times in 4,464 Posts
Default

Quote:
Originally Posted by rseoane
However now I have other problems with ispc control panel access (I have to open ssh sesion simultaneously to access the secure web in port 81).
:-(
SSH is not realted to the apache webserver on port 81. Which error do you get when you open a webbrowser and enter the ISPConfig controlpanel URL?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 5th November 2006, 14:23
rseoane rseoane is offline
Junior Member
 
Join Date: Nov 2006
Location: Córdoba, Spain
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

https://www.cluxter.com:81

I can't accesss and error seems as firewall refused conection, but I've redirect port 81 to server.

Now, open ssh session to my ip (no login necessary) and then you can see the control panel.

Last edited by rseoane; 5th November 2006 at 14:26.
Reply With Quote
  #6  
Old 6th November 2006, 15:07
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts
 
Default

If you're trying to connect from within your local network, you can use the server's IP address, for example https://192.168.0.100:81 instead of https://www.cluxter.com:81 .

You can also modify your client PC's hosts file so that it knows which internal IP address is www.cluxter.com: http://www.howtoforge.com/forums/sho...s+file+windows

I can't connect to https://www.cluxter.com:81 from the outside, so either it's your firewall or your ISP that blocks port 81, or ISPConfig isn't running...
__________________
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
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
Virtual Users And Domains With Postfix, Courier And MySQL - Quota patch fails grasomega HOWTO-Related Questions 3 20th September 2006 18:37
Postfix-SMTP-AUTH-TLS-Howto install errors (pfixtls.diff patch) jjw HOWTO-Related Questions 13 12th September 2006 16:56
Limit mysql database size ddelbia Feature Requests 14 25th April 2006 22:42
Postfix Quota Patch question toastmaster Server Operation 1 30th March 2006 17:03
[2.2.0] My patch for more secure passwords bjmg General 3 28th March 2006 17:05


All times are GMT +2. The time now is 06:57.


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