Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-20-2012, 07:07 PM   #16
LQ Newbie
Registered: Feb 2005
Location: Ont, Canada
Distribution: Linux Distro
Posts: 18

Original Poster
Rep: Reputation: 0

Originally Posted by suicidaleggroll View Post
Your website isn't "pointing" anywhere. Your webserver is listening for any incoming connections on port 80, and responding with your web page. The reason you can't access it through the domain is DNS. When anybody types in a domain, DNS tells the computer the actual location of that website (the IP address of the computer hosting it). Your DNS for isn't configured properly, so when somebody types in that domain, they are not being directed to the location where that website actually sits (your Dell box).

1-point the DNS for your domain to your router's public IP address
2-set your Dell up with a static IP on your local network
3-forward port 80 to your Dell's IP in your router config
1- Not sure how to do this
2 -Change Dchp to static ip using public ip
3- did this
Old 07-21-2012, 04:18 AM   #17
Senior Member
Registered: Jan 2010
Location: SI : 45.9531, 15.4894
Distribution: CentOS, OpenNA/Trustix, testing desktop openSuse 12.1 /Cinnamon/KDE4.8
Posts: 1,144

Rep: Reputation: 217Reputation: 217Reputation: 217
please see the picture and make the appropriate settings
Attached Thumbnails
Click image for larger version

Name:	DNS registrar.jpg
Views:	16
Size:	45.8 KB
ID:	10177  

Last edited by lithos; 07-21-2012 at 04:21 AM.
Old 07-21-2012, 05:22 AM   #18
Registered: Apr 2012
Posts: 131

Rep: Reputation: Disabled
This problem is related to IP forwarding, NATING and DNS. Look on your Dell PC set static IP:
IP address : xx.xx.xx.xx
Gateway IP : router's IP to which your DEL PC is connected
DNS Server: put dns server IP here (If your router itself is DNS server as well as working as a gateway then put same router's IP)

First let me know What is infrastructure there:
1 Internet wire connected to Internet Router -------> Your Local router -------> Dell PC
2 Internet wire connected to Internet Router -------> Dell PC

If you are in first case then IP forwarding will be required at your local router. Also at local router you have to redirect TCP port 80 requests to your main internet router (your main internet router is your DNS server (I consider it)) i.e. NATING

If you are in second case no IP forwarding is required. No need to redirect your connections. It will work simply after setting IPs statically

Note: In our case main internet router provided by PTCL (internet provider) is itself configured for NATTING and ip forwarding. So I considered same scenario for you.

Last edited by uk.engr; 07-21-2012 at 05:25 AM.


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
Can ssh into host on lan using WLAN address, but not through LAN address gurkakrieg Slackware 4 01-05-2010 08:19 AM
www ilo local ip to access website on lan tryangle Linux - Networking 9 09-18-2009 10:11 PM
Localhost pointing to default page if I don't specify the port number in the address rajaoLQ Linux - Server 6 08-24-2009 03:52 PM
Local LAN IP address suddenly changed MasterOfTheWind Linux - Networking 4 10-22-2008 11:28 AM
Setup local machine to allow lan machines to retrieve its local user mail. Brian1 Linux - Networking 3 03-30-2006 06:04 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:56 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