CodeIgniter Forums

Full Version: Using on test server with IP address and username for URL
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm moving my site to a new server. I restored the CPanel backup but I want to test the site before I change the domain to point to the new server. Until I like the domain I would load it usingĀ the IP/username, like: http://192.169.1.100/~myusername

Of course that breaks Codeigniter when I openĀ http://192.169.1.100/~myusername/pagename

How can I get it working with the test server until I'm ready to point the domain over?
Change your local host file (on your computer) and point your domain to the new servers IP-address.