I’m trying to setup a temp WordPress environment to build a new website for a client, but I want to leave the old one in place until the last minute. The old site in up in AWS, new site is traditional hosting. I setup a hosts file so my computer would bypass the instruction to go to https, but I can’t get it to work without breaking the old site. It looks like I need to keep the listener rules in place for now, but can I modify one to let the hosts file work?
The listener rules are: HTTP 80 redirects *.site.com and site.com to port 443, and forwards all else to HTTPS through a target group. HTTP 443 rule just forwards to the Target group, with the (amazon issued) SSL cert specified
Is something here overriding my hosts file - which is telling my machine to point site.com and www.site.com to the IP address