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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 2nd November 2011, 08:30
ffs123 ffs123 is offline
Junior Member
Join Date: Oct 2011
Posts: 5
Thanks: 9
Thanked 1 Time in 1 Post
Thumbs down How to edit server host name ip address in ssl redirection page ???

I install Beta version and I put FQDN server host name when I install, but host name was not propagating well.

SSH output
Stopping httpd: [ OK ]
httpd: apr_sockaddr_info_get() failed for server11.mydomain.com
httpd: Could not reliably determine the server's fully qualified domain name, using for ServerName
[Tue Nov 01 09:48:18 2011] [warn] NameVirtualHost *:80 has no VirtualHosts
Starting httpd: [ OK ]
Stopping pure-ftpd: [ OK ]
Starting pure-ftpd: [ OK ]
Installation completed.
[root@server11 install]#


I turn on ssl feature.
When I type http://myhostname:8080/ in address bar,
Url redirect to ssl page and shows as below.


Bad Request

Your browser sent a request that this server could not understand.
Reason: You're speaking plain HTTP to an SSL-enabled server port.
Instead use the HTTPS scheme to access this URL, please.



Please help me how to edit to my host name or Public Static IP address. Server is in datacenter. My host name was not propagating well when I install the ispconfig beta version.

Hint should be https://punlicipaddress:8080/

Reply With Quote
Sponsored Links
Old 2nd November 2011, 11:09
till till is offline
Super Moderator
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,651 Times in 4,461 Posts

Edit the file /etc/hosts and add the public IP of the server and hostname there. Please see also the perfect setup guides, the step to edit your hosts file is described there.

By the way, your problem is not related to the use of the ISPConfig beta on the server.
Till Brehm
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
ffs123 (2nd November 2011)
Old 2nd November 2011, 11:34
ffs123 ffs123 is offline
Junior Member
Join Date: Oct 2011
Posts: 5
Thanks: 9
Thanked 1 Time in 1 Post
Default add ServerName YOURSERVERNAME to httpd.conf

I found the solution.
This is for Centos 5.7 64 bit. not sure to work for other linux.
login as root

vi /etc/httpd/conf/httpd.conf

uncoment or add following line in httpd.conf

ServerName example dot com :80

ServerName YOURSERVERNAME.Example.com

/etc/init.d/httpd restart
Reply With Quote
The Following User Says Thank You to ffs123 For This Useful Post:
falko (3rd November 2011)



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
Not working emails (DNS and postfix problem?) shekiman Installation/Configuration 9 1st March 2011 17:25
Can't Ping over VPN RoMiONeT Server Operation 2 4th July 2010 01:19
E-mail server receive and send spams Mole Installation/Configuration 12 19th April 2010 12:03
Sending emails with custom FROM email address merisor Installation/Configuration 4 8th February 2010 17:27
Cannot send or receive mail farbrorc Installation/Configuration 6 24th January 2010 12:56

All times are GMT +2. The time now is 12:10.

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