Go Back   cPanel Forums > cPanel® and WHM® (for Linux® and FreeBSD® Servers) > cPanel and WHM Discussions

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-11-2009, 06:13 PM
Registered User
 
Join Date: Mar 2004
Location: Virginia
Posts: 73
Nathan D.
Hostname changed. cPanel/WHM still try to access original hostname

When I first had my box set up, I of course set it up with a hostname. Once I configured the server how I like it, I decided to change my hostname. I changed it and verified the following files do contain the correct entries for the new hostname:

hosts file
Apache config
wwwacct.conf
resolv.conf
network config

Everything works fine except when in cPanel and WHM (mostly WHM) when clicking links, it still directs itself to the original hostname. http://originalhostname.domain.com. Where else could the original hostname be stored that cPanel/WHM uses for its links?

Thanks in advance,
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-13-2009, 11:12 PM
cpanelnick's Avatar
cPanel Staff
 
Join Date: Feb 2003
Location: Houston, TX
Posts: 4,303
cpanelnick is on a distinguished road
Quote:
Originally Posted by Nathan D. View Post
When I first had my box set up, I of course set it up with a hostname. Once I configured the server how I like it, I decided to change my hostname. I changed it and verified the following files do contain the correct entries for the new hostname:

hosts file
Apache config
wwwacct.conf
resolv.conf
network config

Everything works fine except when in cPanel and WHM (mostly WHM) when clicking links, it still directs itself to the original hostname. http://originalhostname.domain.com. Where else could the original hostname be stored that cPanel/WHM uses for its links?

Thanks in advance,
Try

/usr/local/cpanel/bin/checkallsslcerts
/usr/local/cpanel/startup
__________________
-Nick
cPanel Inc.

Need support? Submit a request here. These forums are not an official support channel.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-14-2009, 01:30 PM
Registered User
 
Join Date: Mar 2004
Location: Virginia
Posts: 73
Nathan D.
Quote:
Originally Posted by cpanelnick View Post
Try

/usr/local/cpanel/bin/checkallsslcerts
/usr/local/cpanel/startup
Alright. I ran both of those. checkallsslcrts confirms that the ssl certs are still for the original hostname and says warning due to those certs not matching the current hostname but it doesn't appear to resolve the issue, it just posts that there is a problem. I ran startup behind that and it restarted cpanel apparently.

The issue remains.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-15-2009, 05:05 PM
Registered User
 
Join Date: Mar 2004
Location: Virginia
Posts: 73
Nathan D.
Any other ideas?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-15-2009, 05:47 PM
cpanelnick's Avatar
cPanel Staff
 
Join Date: Feb 2003
Location: Houston, TX
Posts: 4,303
cpanelnick is on a distinguished road
Please open a ticket @ https://tickets.cpanel.net/submit/
__________________
-Nick
cPanel Inc.

Need support? Submit a request here. These forums are not an official support channel.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 01-16-2009, 01:19 AM
Registered User
 
Join Date: Mar 2004
Location: Virginia
Posts: 73
Nathan D.
Thanks Nick. I've input a support ticket with my provider and will post the resolution here once fixed.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 01-16-2009, 02:00 AM
Registered User
 
Join Date: Mar 2004
Location: Virginia
Posts: 73
Nathan D.
I changed the following setting in WHM to resolve my issue:

When visiting /cpanel or /whm or /webmail with SSL, you can choose to redirect to:
SSL Certificate Name Hostname Origin Domain Name

I selected hostname rather than SSL Cert name and it still goes through SSL but the links/URL reflect the current hostname.

Thanks!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 09-24-2009, 05:42 PM
Registered User
 
Join Date: Sep 2009
Posts: 1
calviin is on a distinguished road
Go to WHM -> Service Configuration -> Manage Service SSL Certificates

And reset all certificate.
That should do the trick.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

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
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 11:50 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© cPanel Inc