Acessando meu servidor web do mundo externo

1

Instalei com sucesso o "LAMP" e posso acessar meu servidor da Web digitando 10.0.2.15. Como posso fazer com que, ao digitar meu nome de domínio, ele exiba meu servidor da Web?

    
por msindle 04.07.2010 / 09:05

2 respostas

2

Associe o seu nome de domínio ao endereço externo do seu roteador, e encaminhe a porta 80 do seu roteador para o servidor.

    
por 04.07.2010 / 09:11
0

Você pode comprar um DNS ou seguir esta solução:

It's likely that your router is engaging in Network Address Translation.
In order to see the web page inside your LAN from outside of it:

You'll have to turn on port forwarding on the HTTP port that you're serving 
(80 is the default) to direct any traffic to the internal address. This
process varies from router to router, so you'll have to look at the manual 
that came with that device.

It's best to also set up a static IP address for the computer serving the 
website so that if it reboots, the port forwarding still works. This is unnecessary 
if you can port forward using the hostname (not typically supported). This also 
varies from router to router.

Direct your clients to your externally-facing IP address. If you don't have a 
reserved IP through your ISP, this might change from time-to-time, especially
 if you restart your modem, so I recommend...

(optional) Get an account at a dynamic dns host such as DynDNS to allow 
external users to see a persistent address. You'll have to install some software on
the server to periodically make sure that the IP address is correct.

Fonte

    
por 28.01.2014 / 23:09