Mobile app version of vmapp.org
Login or Join
Murray432

: How to show client a domainless site without altering hosts file or using 'serverip/~accountname'? We have updated VPSs and apparently the latest version of PHP(?) does not allow you to use the

@Murray432

Posted in: #Domains #Vps #WebHosting

We have updated VPSs and apparently the latest version of PHP(?) does not allow you to use the servers ip /~accountname as a way to view a site that does not yet have a domain name associated to it, eg:

122.221.10.23/~newsite


or

ourhostingserver.com/~newsite


We can view it from our computers by altering the hosts file, adding something like:

122.221.10.23 newsite.com.au 122.221.10.23 newsite.com.au


but its not very practical to ask our not-tech-savvy clients to go altering their host files.

Does anyone know of a way we can show our clients these sites using some kind of temporary domain name or similar?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Murray432

1 Comments

Sorted by latest first Latest Oldest Best

 

@Sue5673885

There are multiple ways you could do this.

Have a staging server

So you must be having your own domain.
Use this nomenclature for hosting the staging work -


client.yourdomain.com


This is done using VirtualHosts in Apache. If you have your own VPS, this should be a breeze.

Another alternative for this would be to use folder structures -


yourdomain.com/client

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme