Author |
Message |
Ki_Mendrossen
Guest
|
Posted:
Wed Jan 11, 2006 3:23 pm |
|
I want to setup a Linux server running apache and I want to be able to access the web page from any computer on the internet.
Hypothetically this is what I want.
My linux computer is behind the router and has an IP address of 192.168.1.12, the router receives IP address 77.66.19.3 which is dynamically assigned by Verizon DSL. I have registered the name ds.pcfunpage.biz and I want it to point to my web server.
How do I set the server up to accept that name. |
|
|
|
|
Ki_Mendrossen
Guest
|
Posted:
Wed Jan 11, 2006 3:27 pm |
|
Do I have to do anything special to the router so that it can point to my webserver? |
|
|
|
|
Anonymous101
Joined: 18 Oct 2004
Posts: 54
Location: Nottingham, England
|
Posted:
Wed Jan 11, 2006 4:00 pm |
|
You'll have to (well, should) set the ServerName in httpd.conf to ds.pcfunpage.biz, and change the dns records for ds.pcfunpage.biz (in the registrs cpanel) to point to 77.66.19.3.
On the router, you also need to forward TCP port 80 to 192.168.1.12. |
|
|
|
|
Ki Mendrossen
Guest
|
Posted:
Wed Jan 11, 2006 8:52 pm |
|
what is registrs cpanel? where would I find it? |
|
|
|
|
Anonymous101
Joined: 18 Oct 2004
Posts: 54
Location: Nottingham, England
|
Posted:
Wed Jan 11, 2006 9:33 pm |
|
The registrars control pannel is basicly wherever you registered the domain name. Just goto there site, login, and update the dns details. |
|
|
|
|
harshbarj
Joined: 01 Oct 2004
Posts: 169
Location: behind you!
|
Posted:
Thu Jan 12, 2006 9:15 pm |
|
You might want to check with your isp. Most don't allow servers and most of those block port 80 from incomming trafic.
If this will be a server for the public you might want to set the server up in a DMZ. This will protect the rest of your network.
http://en.wikipedia.org/wiki/Demilitarized_zone_%28computing%29 |
_________________ Raise Your IQ. Eat Gifted Children. |
|
|
|
ß
Joined: 04 Oct 2004
Posts: 114
Location: ~/
|
Posted:
Thu Jan 19, 2006 6:42 am |
|
It might also be a good idea to have Apache listen on a non-standard and uncommon port such as 8086. (maybe 8080, but that is commonly used for proxies and certain Web servers.) The reason is that you will likely end up using a lot of bandwidth serving requests from worms trying to infect unpatched Micros~1 IIS installations if you have Apache listen on the standard port 80. You can usually find requests from such worms in your access log by searching for unusually long request strings that attempt to exploit buffer overflows in poorly-written software. |
|
|
|
|
Erik
Joined: 28 Feb 2006
Posts: 127
Location: LI, NY
|
Posted:
Mon Mar 06, 2006 8:53 pm |
|
I have my Linux computer set up as my website. I have www.no-ip.com forwarding my domain name to my IP address at a specific port. This port is forwarded through my router to the correct computer on my network. Apache just simply listens for connections on the port #. It works great! |
_________________ Nukem Enterprises - http://eriks.servehttp.com |
|
|
|
|