fastpurplemedia Posted May 30, 2013 Share Posted May 30, 2013 Hello..I'm working on a website locally using Xampp and I need to access the non-local site at the same time. The non-local site has a dedicated IP. Is there any way to open the non-local site (so I can copy and paste) while still viewing the local site? I thought about accessing it with the IP but it resolves to the domain name.Thanks in advance. Quote Link to comment https://forums.phpfreaks.com/topic/278593-how-to-access-same-website-locally-and-non-locally/ Share on other sites More sharing options...
trq Posted May 30, 2013 Share Posted May 30, 2013 Add the mapping to your /etc/hosts file. Quote Link to comment https://forums.phpfreaks.com/topic/278593-how-to-access-same-website-locally-and-non-locally/#findComment-1433170 Share on other sites More sharing options...
fero57 Posted May 30, 2013 Share Posted May 30, 2013 Use an editor that can connect to a server, edit a file, save it locally and send it non-locally, though it does not work both directions, and check both in the browser Quote Link to comment https://forums.phpfreaks.com/topic/278593-how-to-access-same-website-locally-and-non-locally/#findComment-1433207 Share on other sites More sharing options...
fastpurplemedia Posted June 4, 2013 Author Share Posted June 4, 2013 Use an editor that can connect to a server, edit a file, save it locally and send it non-locally, though it does not work both directions, and check both in the browser I think your idea will work for me Fero. I will try it. Thanks Fero. Quote Link to comment https://forums.phpfreaks.com/topic/278593-how-to-access-same-website-locally-and-non-locally/#findComment-1433950 Share on other sites More sharing options...
fastpurplemedia Posted June 4, 2013 Author Share Posted June 4, 2013 Add the mapping to your /etc/hosts file. Hello TRQ, I had done this before but not working for me. Quote Link to comment https://forums.phpfreaks.com/topic/278593-how-to-access-same-website-locally-and-non-locally/#findComment-1433952 Share on other sites More sharing options...
trq Posted June 4, 2013 Share Posted June 4, 2013 "Not working" doesn't help us help you. Quote Link to comment https://forums.phpfreaks.com/topic/278593-how-to-access-same-website-locally-and-non-locally/#findComment-1433966 Share on other sites More sharing options...
QuickOldCar Posted July 10, 2013 Share Posted July 10, 2013 using localhost or 127.0.0.1 should let you see it locally Quote Link to comment https://forums.phpfreaks.com/topic/278593-how-to-access-same-website-locally-and-non-locally/#findComment-1440126 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.