Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Sorry if this is in the wrong place.I don't really know anything about server-related things, but I'm really curious about this.

On my mac I figured out how to make a simple web page viewable via the local ip address or computer name on the LAN, and also how to hook it up with a free hostname from

So the dyndns hostname points to something, how can I access it directly?

Typing in the global ip address (of the router) doesn't work, but if it did, how would it know which computer to point to?

There must be some way of directly accessing what dyndns hostname points to by typing in some number, right?

Sorry I don't really understand how it works.

share|improve this question

migrated from Oct 9 '09 at 5:03

This question came from our site for system and network administrators.

This is a question for SuperUser, and involves port forwarding from your router to your macbook. I'll put in a vote to get it migrated there, so it should move once enough people flag it! – Mark Henderson Oct 9 '09 at 2:49
Can't you answer it anyway if you know? – Mk12 Oct 9 '09 at 2:58
Thanks for editing it. – Mk12 Oct 9 '09 at 3:02
Hey Mk12, i would answer it but I'd need to know a LOT of specifics about the situation, such as the router, DHCP range, etc, and then I'd have to research exactly how to navigate through that model of router, etc. The superuser guys usually know this stuff off the top of their heads. – Mark Henderson Oct 9 '09 at 3:15
up vote 1 down vote accepted

Basically, you will need to expose your Mac to the Internet, via the router. Before you do this, you should be clear of what you are doing. There is a reason why you router does not allow this by default - to protect the internal machines.

You will need to set your router to forward port 80 to your Mac. That's it. How to actually do it depends on the router.

share|improve this answer
My router is airport extreme. I'm not actually making a website, I'm just curious. I had already found out about port 80, so, anyway, forwarding port 80 is safe? Also, is there a way to do it like (number on left router, on right local ip) to access the specific local ip without having to make the router forward it? Except using a slash doesn't work. – Mk12 Oct 9 '09 at 3:12
If you were able to access the local IP, you'd essentially be forwarding. That's the way to do it. It's as secure as the underlying network system and the service running on that port. – jtbandes Oct 9 '09 at 5:15
So if only port 80 is forwarded, and web sharing (apache) handles that, is it secure? Is there any possible way someone could hack into that? – Mk12 Oct 18 '09 at 19:20
The moment that you are open to the internet, you can definitely get hacked. There is no 100% secure solution. However, with only port 80 exposed, the entry is limited to exploiting apache weaknesses. So, you are limiting your exposure. – sybreon Oct 26 '09 at 6:50

Forward port 80 on your router to the internal address of your Mac (be it 10.x.x.x or 192.x.x.x) and then access your dyndns address from a machine not using the router, like your cell phone, perhaps?

share|improve this answer

This might work for you:

The files are always in your computer but the webpage is served from the internet.

share|improve this answer
What I'm trying to do is make my mac the server. – Mk12 Oct 15 '09 at 19:51

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .