This very advantageous technique makes it possible to see one's website on another IP than that given by current DNS or IP pointing, and to check/test the proper functioning of a website. Also, to immediately fix any cache problem during DNS changes.
The solution is to modify the hosts file of your PC, find your host file according to your operating system's computer :
For Windows, with your file explorer, find and open the file with a text editor like notepad+ (administrator mode), located in c:\windows\system32\drivers\etc\hosts
For Mac, see tutorial :
Find your IP in "Zone Editor" of your cPanel, entry A, ex: 18.104.22.168
Add this in the hosts file by replacing by correct IP and domain (remove any # in front) :
22.214.171.124 123hosting.fr www.123hosting.fr
To know for sure if you load from our servers (after cleaning your browser cache, and DNS from your PC), create a file test by ftp in the root folder of your web hosting at home : public_html folder in general
Clean your browser cache, cookies, and sessions by settings / options of your browser (CTRL + F5 is not enough)
Try to to access this last page, ex: yourdomain.com/test, if you see a blank page, and not a 404, it means that you load from our servers...
- make sure your htaccess file is not redirecting to real site, remove htacess as a first step or temporarily
- https preview mode is not possible without validating the warning as it require domain validation by proper pointing to get a signed SSL... or import a SSL certificate in your cPanel
- this hosts file solution works at 95% and is enough to appreciate things, some problems in temporary can disappear during the change of IP of the real site
Source : https://github.com/maximejobin/rocket-nginx NB : you...
It is a fact, restore/import dense or important databases by phpmyadmin is not working or bad, it...
With SSH you can test, it works and is the best solution to implement this command in your php...
Simplest way :...
To activate and use Node Js : from your cPanel, click on icon 'Setup Nodejs App' After, click...