Accessing a website on a shared hosted platform

detourFor those in the website business, it can be abit un-nerving if you have to migrate websites only to realize you cannot test them unless they re-point them to the new A-Server records and using http://<ip-address&gt; is just pointless.

The reason this is possible is because when using shared hosting, the hostname parameter is used to identify which website should be accessed and your server knows how to route and server websites based on “hostname” and not IP address alone.

Three options will work;

From the browser;

http://<website-ip-address>/~cpanel username

e.g for kujahapa i would use; where kusername is the kujahapa cpanel username, for example purposes i use a dummy username so kusername will not route anywhere

Over CLI on a *nix we have another options

$ wget –header ‘’

$ curl –header ‘’

Hope this helps.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s