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 22nd March 2008, 00:09
greenpete greenpete is offline
Member
 
Join Date: Feb 2008
Location: Cotswolds
Posts: 51
Thanks: 20
Thanked 1 Time in 1 Post
Send a message via Yahoo to greenpete
Default 'Salutatory Email for Clients' wrong CP and manual URL

I have a problem with the 'Salutatory Email for Clients'.
When I create a new user the system sends an e-mail with all the details in, but the CP URL and the Manual URL have the local IP in them instead of my domain name.
i.e. I get;
Your Control Panel can be found here https://192.168.0.6:81
instead of;
Your Control Panel can be found here https://www.mydomain.com:81
Can anyone tell me how to rectify this please.
__________________
Running; The Perfect Setup - Ubuntu 9.04 Server
Talaen
Webmin
1GB CPU
375MB RAM
40GB HDD
Domestic ADSL 256kbs/8mbs
Speedtouch Modem/Router
Reply With Quote
Sponsored Links
  #2  
Old 22nd March 2008, 17:16
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Please check what you have in /home/admispconfig/ispconfig/lib/config.inc.php.
__________________
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 22nd March 2008, 18:33
greenpete greenpete is offline
Member
 
Join Date: Feb 2008
Location: Cotswolds
Posts: 51
Thanks: 20
Thanked 1 Time in 1 Post
Send a message via Yahoo to greenpete
Default

Quote:
Originally Posted by falko
Please check what you have in /home/admispconfig/ispconfig/lib/config.inc.php.
The only thing that stands out to me is on line 74;
'"$go_info["server"]["server_url"] = 'https://'.$_SERVER['HTTP_HOST'];'
and possibly line 76;
'$go_info["server"]["server_url"] = "https://server1.swerfordheath.com:81";'
Otherwise I can't see anything.
I will PM you the file.
__________________
Running; The Perfect Setup - Ubuntu 9.04 Server
Talaen
Webmin
1GB CPU
375MB RAM
40GB HDD
Domestic ADSL 256kbs/8mbs
Speedtouch Modem/Router

Last edited by greenpete; 22nd March 2008 at 20:05.
Reply With Quote
  #4  
Old 23rd March 2008, 18:29
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Looks ok. How do you call your ISPConfig control panel? By using https://www.mydomain.com:81 or https://192.168.0.6:81?
__________________
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
The Following User Says Thank You to falko For This Useful Post:
greenpete (23rd March 2008)
  #5  
Old 23rd March 2008, 19:12
greenpete greenpete is offline
Member
 
Join Date: Feb 2008
Location: Cotswolds
Posts: 51
Thanks: 20
Thanked 1 Time in 1 Post
Send a message via Yahoo to greenpete
 
Default

Quote:
Originally Posted by falko
Looks ok. How do you call your ISPConfig control panel? By using https://www.mydomain.com:81 or https://192.168.0.6:81?
I use the local I.P. as it's quicker and easier.
I just tried through a proxy and therefore used the domain name and it worked!
Thanks yet again!

UPDATE!!! I found that using the local I.P. was the problem!
If I edit my hosts file on my desktop P.C. (to map the URL to a local I.P. see here) and then use the full URL (the one all others will use to access my server) it works! i.e. 'http://www.domain.com:81' not 'http://192.168.0.xxx:81'
__________________
Running; The Perfect Setup - Ubuntu 9.04 Server
Talaen
Webmin
1GB CPU
375MB RAM
40GB HDD
Domestic ADSL 256kbs/8mbs
Speedtouch Modem/Router

Last edited by greenpete; 29th June 2009 at 23:59. Reason: Figured the answer myself and no one else posted and answer.
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


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


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