mk2mark

Member
Mar 6, 2012
9
0
51
cPanel Access Level
Root Administrator
Hey guys,

I'm having what I'm sure is a simple problem but I just am baffled. I have a server I'm replacing with a new server.

Since both have the same hostname, even if I type in the new IP:2087 I get directed to the old server. How do I actually get into the new server to set up cpanel?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,908
2,218
463
Hello :)

You should be able to access the new server using it's IP address. For example:

Code:
https://IPAddress:2087
Thank you.
 

mk2mark

Member
Mar 6, 2012
9
0
51
cPanel Access Level
Root Administrator
I understand that part, but is there any way to do it without doing that? I'd like to migrate my info across, then when the dns is changed the site will remain intact.

Alternatively, is there an easy way to change the hostname on the new server, then change it back?
 

ruzbehraja

Well-Known Member
May 19, 2011
392
11
68
cPanel Access Level
Root Administrator
I understand that part, but is there any way to do it without doing that? I'd like to migrate my info across, then when the dns is changed the site will remain intact.

Alternatively, is there an easy way to change the hostname on the new server, then change it back?
In your local machine hosts file, link the IP of the new server with the hostname.
Hosts (file) - Wikipedia, the free encyclopedia

Be very careful when performing such operations, so that you don't make incorrect changes to the old server.

Remember to remove the entry once you are done.