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.
Reply
 
Thread Tools Display Modes
  #1  
Old 2nd November 2011, 07: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 127.0.0.1 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.

Hint: https://127.0.0.1:8080/

-------------------------------------------------


Please help me how to edit 127.0.0.1 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/
or
https://serverhostname:8080

Thanks.
Reply With Quote
Sponsored Links
  #2  
Old 2nd November 2011, 10:09
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,715
Thanks: 819
Thanked 5,321 Times in 4,174 Posts
Default

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)
  #3  
Old 2nd November 2011, 10: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

e.g
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)
Reply

Bookmarks

Tags
badrequest 127.0.0.1

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 16:25
Can't Ping over VPN RoMiONeT Server Operation 2 4th July 2010 00:19
E-mail server receive and send spams Mole Installation/Configuration 12 19th April 2010 11:03
Sending emails with custom FROM email address merisor Installation/Configuration 4 8th February 2010 16:27
Cannot send or receive mail farbrorc Installation/Configuration 6 24th January 2010 11:56


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


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