Control Web Panel
WebPanel => Installation => Topic started by: driftwood on August 01, 2019, 03:12:51 PM
-
My main server has served me well for 5 years now - I have ten wordpress sites on it.
I'm about to move house so thought it an ideal time to update the server. So I've copied all the data on to an new install of CWP on a new machine, I've imported the databases and create all the domains.
However I want to test the wordpress sites work before I switch the IP address to the public IP. I want everything right before I do this switch. So any advice on how I can view these site on the local network IP address?
-
http://ipaddress/~username/
-
Hi.
You can use file hosts at your computer.
Windows - %Windows%\system32\drivers\etc\hosts
Linux - /etc/hosts
MacOS - /etc/hosts
Just add to the file:
server_ip domain-name www.domain-name
where server_ip is the server IP address and domain-name is the website name.