Return to Uncreativelabs.net front page Uncreative Labs
PC XT and AT forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

 Linux/Apache Web serving question View next topic
View previous topic
Post new topicReply to topic
Author Message
Ki_Mendrossen
Guest





PostPosted: Wed Jan 11, 2006 3:23 pm Reply with quoteBack to top

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





PostPosted: Wed Jan 11, 2006 3:27 pm Reply with quoteBack to top

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

PostPosted: Wed Jan 11, 2006 4:00 pm Reply with quoteBack to top

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.
View user's profileSend private message
Ki Mendrossen
Guest





PostPosted: Wed Jan 11, 2006 8:52 pm Reply with quoteBack to top

what is registrs cpanel? where would I find it?
Anonymous101



Joined: 18 Oct 2004
Posts: 54
Location: Nottingham, England

PostPosted: Wed Jan 11, 2006 9:33 pm Reply with quoteBack to top

The registrars control pannel is basicly wherever you registered the domain name. Just goto there site, login, and update the dns details.
View user's profileSend private message
harshbarj



Joined: 01 Oct 2004
Posts: 169
Location: behind you!

PostPosted: Thu Jan 12, 2006 9:15 pm Reply with quoteBack to top

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.
View user's profileSend private messageSend e-mailVisit poster's website
ß



Joined: 04 Oct 2004
Posts: 114
Location: ~/

PostPosted: Thu Jan 19, 2006 6:42 am Reply with quoteBack to top

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.
View user's profileSend private message
Erik



Joined: 28 Feb 2006
Posts: 127
Location: LI, NY

PostPosted: Mon Mar 06, 2006 8:53 pm Reply with quoteBack to top

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! Very Happy

_________________
Nukem Enterprises - http://eriks.servehttp.com
View user's profileSend private messageVisit poster's websiteICQ Number
Display posts from previous:      
Post new topicReply to topic
 Jump to:   
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001/3 phpBB Group :: FI Theme :: All times are GMT