How to preview web site without domain

ridley

Registered
Oct 14, 2016
1
0
1
france
cPanel Access Level
Reseller Owner
Hello,
I can preview website (wordpress) without adding a domain? Cpanel 58
To work on it before putting online
Do you have documentation for that?

Thank you for the one who would answer me
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,218
463
Hello,

Most users think of Apache Mod_Userdir for these situations:

Apache mod_userdir Tweak - Documentation - cPanel Documentation

However, as a reseller, you can't enable Mod_Userdir without intervention from your web hosting provider. That said, it's actually easier to simply configure a custom entry in the hosts file on your workstation to make the domain name resolve to the server:

hosts (file) - Wikipedia

Let us know if you have any additional questions.

Thanks!