962 posts
  • Beta Tester
  • Bought between 10 and 49 items
  • Contributed a Tutorial to a Tuts+ Site
  • Exclusive Author
  • Grew a moustache for the Envato Movember competition
  • Has been a member for 4-5 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Sold between 1 000 and 5 000 dollars
  • United States
webdesigndeluxe says

Let me explain… I’m wondering if it is possible to view my localhost (127.0.0.1) on the world wide web. The localhost is on my desktop computer that is always connected to the internet so there should be a way to do that, I’m just not sure how. Basically say I’m on vacation and want to access localhost from my desktop, is there a way to type in some IP address and view localhost that way? Any ideas?

Thanks! :)

4265 posts ThemeForest Reviewer
  • Envato Staff
  • Reviewer
  • Community Moderator
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Venezuela
  • Has been a member for 5-6 years
  • Microlancer Beta Tester
  • Sold between 10 000 and 50 000 dollars
  • Exclusive Author
+9 more
Ivor Reviewer says
374 posts
  • Bought between 10 and 49 items
  • Contributed a Blog Post
  • Contributed a Tutorial to a Tuts+ Site
  • Exclusive Author
  • Has been a member for 4-5 years
  • Referred between 1 and 9 users
  • Sold between 1 000 and 5 000 dollars
_rohan says
962 posts
  • Beta Tester
  • Bought between 10 and 49 items
  • Contributed a Tutorial to a Tuts+ Site
  • Exclusive Author
  • Grew a moustache for the Envato Movember competition
  • Has been a member for 4-5 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Sold between 1 000 and 5 000 dollars
  • United States
webdesigndeluxe says
MAMP + http://www.dyndns.com/ :)

Just took a look at this. Looks pretty awesome ;) Now is this something I’d have to install on my home computer?

When I go to sign up: https://www.dyndns.com/account/services/hosts/add.html

I have no clue what to do :D

4335 posts
  • Beta Tester
  • Bought between 10 and 49 items
  • Community Moderator
  • Contributed a Blog Post
  • Contributed a Tutorial to a Tuts+ Site
  • Exclusive Author
  • Grew a moustache for the Envato Movember competition
+6 more
Reaper-Media Volunteer moderator says

Umm… yes if you set up your router to have port forwarding, so it could forward port 80 to the local address of your computer on your LAN . The default for most modern routers externally accessing your networks ip is to display the administration panel. But your router needs to support this feature.

Also, if you have a dynamic i.p. address, and your router reconnects at any point to your ISP , your global ip address will change which means that the one you wrote down will not be valid any longer.

Also i would not recommend doing this too many times as it will take up your broadband upload bandwidth and your ISP could incur extra hidden costs. I certainly don’t recommend you sharing any links to your computer’s web server. Unless of course you have a web hosting broadband plan. :)

328 posts
  • Albania
  • Bought between 100 and 499 items
  • Exclusive Author
  • Has been a member for 4-5 years
  • Referred between 1 and 9 users
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Sold between 1 000 and 5 000 dollars
Katro says

THe way i know you can do this is to have installed windows server, or linux, at the computer home, then you will need to setup the server to create a web server from where you can access it, you could also host domain names and so on…

Why you do this when you can get host for free? or buy a host service? Basically thats what you want to do!

4335 posts
  • Beta Tester
  • Bought between 10 and 49 items
  • Community Moderator
  • Contributed a Blog Post
  • Contributed a Tutorial to a Tuts+ Site
  • Exclusive Author
  • Grew a moustache for the Envato Movember competition
+6 more
Reaper-Media Volunteer moderator says
MAMP + http://www.dyndns.com/ :)

Ooh that does look cool! :D

MAMP + http://www.dyndns.com/ :)

Just took a look at this. Looks pretty awesome ;) Now is this something I’d have to install on my home computer?

When I go to sign up: https://www.dyndns.com/account/services/hosts/add.html

I have no clue what to do :D

The home computer install bit would be so that if you have a dynamic ip and it reconnects, your computer will send this service the location of your new ip and it will reconnect to your router :)

4335 posts
  • Beta Tester
  • Bought between 10 and 49 items
  • Community Moderator
  • Contributed a Blog Post
  • Contributed a Tutorial to a Tuts+ Site
  • Exclusive Author
  • Grew a moustache for the Envato Movember competition
+6 more
Reaper-Media Volunteer moderator says
When I go to sign up: https://www.dyndns.com/account/services/hosts/add.html I have no clue what to do :D

the first bit is what you want the domain that accesses your localhost to be, there is a list of the domain providers and you can pick any one you like.

The ip address is where you enter the ip address of your router (i.e. current connection)

962 posts
  • Beta Tester
  • Bought between 10 and 49 items
  • Contributed a Tutorial to a Tuts+ Site
  • Exclusive Author
  • Grew a moustache for the Envato Movember competition
  • Has been a member for 4-5 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Sold between 1 000 and 5 000 dollars
  • United States
webdesigndeluxe says
THe way i know you can do this is to have installed windows server, or linux, at the computer home, then you will need to setup the server to create a web server from where you can access it, you could also host domain names and so on… Why you do this when you can get host for free? or buy a host service? Basically thats what you want to do!

Well here’s the thing… I have Magento installed on localhost and want to show a client before he makes up his mind on wether he wants to go that route because if you don’t already know, Magento hosting is not cheap and want to show him the real thing on my localhost before purchasing a dedicated server.

962 posts
  • Beta Tester
  • Bought between 10 and 49 items
  • Contributed a Tutorial to a Tuts+ Site
  • Exclusive Author
  • Grew a moustache for the Envato Movember competition
  • Has been a member for 4-5 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Sold between 1 000 and 5 000 dollars
  • United States
webdesigndeluxe says
When I go to sign up: https://www.dyndns.com/account/services/hosts/add.html I have no clue what to do :D

the first bit is what you want the domain that accesses your localhost to be, there is a list of the domain providers and you can pick any one you like.

The ip address is where you enter the ip address of your router (i.e. current connection)

Now would I choose ‘Host with IP address’ or ‘Offline Hostname’?

by
by
by
by
by
by