Tuesday 15 February 2011

localhost - What's the equivalent of loalhost when developing on a virtual private server? -



localhost - What's the equivalent of loalhost when developing on a virtual private server? -

this seems obvious question reason couldn't find online explains this. when i'm developing locally on computer switch , forth between terminal write code , browser view resulting website localhost url , appropriate url.

what's equivalent of localhost when developing on vps digital ocean? don't want utilize vps production server, want able preview.

ok sense little silly figured out after reading other stuff , talking coworker it.

basically localhost kind of alias ip address specially set aside purpose (127.1.1 think). localhost easier remember bunch of numbers @ end of day that's is. if you're working on virtual private server digital ocean droplet, need navigate ipaddress in browser , that's cloud equivalent of localhost.

localhost cloud digital-ocean

No comments:

Post a Comment