DEV Community


Posted on • Updated on

Using hosts file to test websites with live domain on Mac - TEST LIVE

cd /etc

sudo nano hosts

Insert the below:

Then when you go to or in the browser it will actually be looking at the source from but using those domains.

Top comments (0)