html - how do I host my webpage in localhost on my Mac? -


i working on webpage & see how renders on iphone's safari browser. rather officially purchasing domain & hosting, because in development stage want view on mobile safari temporarily.

so far have enabled web sharing:

enter image description here

and when type in ip address in iphone's safari, localhost seems up: enter image description here

i have re-created "sites" folder: enter image description here

so how host current webpage working on localhost, being able access on mobile safari? *note want both html , css files accessed show complete webpage

you should consider downloading , installing prepos , you'll able view website in device connected same network.

it's easy use , trial version never expires!

after installing mac, drag , drop site root folder prepos. there's tab can see http path view in device: tv, tablet, smartphone or device internet access. requirement must connect same network.


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -