Results 1 to 12 of 12
Thread: Ip address
-
04-17-2004, 04:31 PM #1Junior Guru Wannabe
- Join Date
- Apr 2004
- Posts
- 43
Ip address
I have a Raq server behind a router on my Lan. How can I make that server available to the world wide web? The router is capable of port forewarding but I don't see how that will help if the server has a lan address (192.168.0.*) How would I set up DNS if the server is inside my lan?
Thanks
-
04-18-2004, 03:20 AM #2Web Hosting Master
- Join Date
- Jun 2003
- Posts
- 976
you need at least 1 static public ip, you setup all domains to it, on the router you forward all requests to port 80 to your cobalt box,
on the cobal you setup name based vhosts (might only work with http/1.1), see http://httpd.apache.org/docs/vhosts/ for more help
-
04-18-2004, 01:32 PM #3Junior Guru Wannabe
- Join Date
- Apr 2004
- Posts
- 43
But then I wouldn't be able to run a dns server on that Raq then right? How would I point my domains to my ip?
-
04-18-2004, 01:50 PM #4Web Hosting Master
- Join Date
- Jun 2003
- Posts
- 976
well, you can run your own dns server, you just need to forward the ports, e.g. port 53(?) udp to your raq, as long you have a static public ip & can forward port on your router to your raq, you can setup the raq on a private ip inside your lan
-
04-18-2004, 01:50 PM #5Web Hosting Master
- Join Date
- Jun 2003
- Posts
- 976
well, you can run your own dns server, you just need to forward the ports, e.g. port 53(?) udp to your raq, as long you have a static public ip & can forward port on your router to your raq, you can setup the raq on a private ip inside your lan
-
04-19-2004, 07:19 PM #6Junior Guru Wannabe
- Join Date
- Apr 2004
- Posts
- 43
how would I do it if I had more than one raq server?
-
04-20-2004, 09:23 AM #7Web Hosting Master
- Join Date
- Jun 2003
- Posts
- 976
i assume you cant get more than 1 static ip?
-
04-20-2004, 11:24 AM #8Junior Guru Wannabe
- Join Date
- Apr 2004
- Posts
- 43
no i can't. Is there any possible way? If I had 2 static ip's how would I do it?
-
04-20-2004, 04:53 PM #9Web Hosting Master
- Join Date
- Jun 2003
- Posts
- 976
well, you would need something like 1public ip/raq, no matter if you host those behind nat or not, it will work, if behind nat, you would need to forward the packages to the proper box on the router, but if having mutiple ips is not an options, need to think about something else, maybe something like
internet->router->lan box with squid as proxy->right raq depending on site
, but not sure if it works, or how
-
04-21-2004, 07:18 PM #10Junior Guru Wannabe
- Join Date
- Apr 2004
- Posts
- 43
I tried forewarding port 53 on my router but when the rest of the computers on my Lan tried to access a website they couldn't because port 53 was being forewarded to my Raq server and the Dns was not getting through to my other computers. Is there any way around this problem?
Thanks
-
04-21-2004, 10:55 PM #11Newbie
- Join Date
- Aug 2002
- Location
- Houston, Tx
- Posts
- 22
Start with DNS
If you start by using something like DYNDNS.org to point the url to the public ip address then point at least port 80 in your router to the inside address of your RAQ. This will get the basics started. Then using the DNS in the RAQ you can then point to whatever hosts (virtual) there are on your RAQ.
This is all dependant on whether or not your internet connection is with an actual router and not a bridge.
something like this :
wwww.mysite.com -------> 66.66.66.xx (set on DYNDNS.org)
66.66.66.xx (wan side of Router) 192.168.1.1 (lan side of router)
192.168.1.1 = gateway
RAQ = 192.168.1.xxxDAS
-
04-22-2004, 12:07 PM #12Web Hosting Master
- Join Date
- Jun 2003
- Posts
- 976
Originally posted by joney_bravo
I tried forewarding port 53 on my router but when the rest of the computers on my Lan tried to access a website they couldn't because port 53 was being forewarded to my Raq server and the Dns was not getting through to my other computers. Is there any way around this problem?
Thanks
all traffic which hits the router? incoming from the net and lan?
if so, and you can config it, set it up to only do it for external (internet) traffic and not your local one, since then your computers on the lan wont be able to use "normal" dns servers, since all traffic will be redirected to the raq, if you can change it and specific only external traffic to be forwarded to the raq, you might want to set up the raq's dns server to use "forwarders" for hosts it doesnt know, that way if you use your raq as your ns for your lan pc's it should work too