Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 08-26-2004, 01:30 PM   #1
LQ Newbie
Registered: Aug 2004
Posts: 9

Rep: Reputation: 0
Setting webserver

Here's the setup:

| Firewall/Router |
| switch |-----------------
| web server |

Mandrake 9.1
Mandrake 10.0
dns2go client

I'm confident that i've configured everything well but my problem is that when i tried access from to domain name that i've registered(a 30 day trial version) in i can't connect to it. Let say may domain name is and its corresponding external ip is 223.x.x.x.In my router i have this iptables rules:
#to open port 80
iptables -A INPUT -p tcp --dport 80 -j ACCEPT
#to port forward port 80
iptables -t nat -A PREROUTING -i eth0 -d 223.x.x.x -p tcp --dport 80 -j DNAT --to
#to redirect internal request on port 80 to port 3128(SQUID CACHE)
iptabes -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 3128

when i try to access the webserver by using its local IP it works fine but with its domain name it doesn't work.

what must be the problem?
Old 08-26-2004, 04:35 PM   #2
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914
Moved: This thread is more suitable in Linux - Networking and has been moved accordingly to help your thread/question get the exposure it deserves.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting Up Fedora WebServer aylwin_wong Linux - Networking 2 09-05-2005 04:55 AM
Setting up a small webserver, someone please help rookiepaul Linux - Newbie 4 07-05-2005 11:58 AM
setting up a webserver airmijo Linux - Newbie 6 11-15-2004 09:37 AM
Setting up a webserver fleeced Linux - General 1 09-04-2004 12:24 PM
Setting up a Webserver LinuxLala Linux - Networking 10 02-09-2004 10:44 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:03 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration