Question
How can I view my site without pointing DNS?
Answer
To view your site without pointing the DNS, you can modify your local computer's host file. This method allows you to test your domain, subdomains, and add-on domains.
Steps to Modify Your Hosts File:
- Open your host file on your local computer using your favorite editor.
- For Linux and MacOS, this would be
/etc/hosts
For Windows, this would beC:\Windows\System32\Drivers\etc\hosts
- Add the following line for the domain and any subdomains or add-on domains you want to test
1.2.3.4 domain.tld www.domain.tld subdomain.domain.tld add-on-domain.tld
- Save and close the host file.
Additional Resources
How to Modify Your Hosts File | cPanel Docs
Comments
0 comments
Article is closed for comments.