If I’m working on a development site, I set the hosts file to point to my version of the website. However, there are times I’d like to simultaneously have the current live site open at the same time so that I can transfer over content etc.
I don’t want to be constantly commenting out the hosts file and flushing the DNS and thought that I might be able to access the live site by its IP address rather than domain name but it’s timing out. Same happens when I ping the domain name through command prompt.
I just wandered if anyone had any ideas for an alternative way to approach this. I’ve tried dropping the www but it still redirects and then picks up my hosts file which sends it back to my version.
Hope that make sense and thanks in advance for any suggestions.
Not to worry. We all have our moments and as developers, tend to always try and over complicate things. But it’s the simple ways that tend to work best