Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Modify Local DNS/DNS Spoof? How Best to Test Site Before Going Live?
I am moving from other hosting to Digital Ocean. I believe I’ve set everything up properly so I just need to change my A record for the domains and everything should be up and running. The issue is that I’d really like to test this! I’m on a Windows machine so I modified the hosts file. The issue is that since I’m using Wordpress it appears as though they rewrite the URL to add www. in front which is querying for the real address. Is there a workaround that people use to test things such as this? Thank you!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×