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

Notices


Reply
  Search this Thread
Old 03-30-2010, 10:37 AM   #1
Woogieman
LQ Newbie
 
Registered: Oct 2009
Location: Eugene, OR and Klamath, CA
Distribution: CentOS 5.4
Posts: 16

Rep: Reputation: 0
Need help with accessing Web site on same network using domain name?


I find it hard to explain but I will try. I have a small network using CentOS 5.4 with a static ip and I am running a web server which has an local ip of 10.1.10.100 and has the domain name of www.inwoon.net.
My problem is I have other computers on the same network and can only access the web server using 10.1.10.100 instead of www.inwoon.net.
Help!!! I am finding it to be impossible to test my web site work using external links that call back to my site.
I greatly appreciate any and all help!
 
Old 03-30-2010, 11:54 AM   #2
mpier
Member
 
Registered: Jan 2008
Location: Poland
Distribution: Slackware, Arch
Posts: 38

Rep: Reputation: 17
Hi,
configure your dns server to reply proper ip addresses for local network. If you haven't any, just insert a line to client /etc/hosts like 10.1.10.100 www.invoon.net www.
 
Old 03-30-2010, 01:20 PM   #3
Woogieman
LQ Newbie
 
Registered: Oct 2009
Location: Eugene, OR and Klamath, CA
Distribution: CentOS 5.4
Posts: 16

Original Poster
Rep: Reputation: 0
Need help with accessing Web site on same network using domain name?

@mpier: Thanks for the good info. It works awesome on the Linux boxes.
Is there a way to make the same thing happen in Windows?
When I type in www.inwoon.net at my Windows box it takes me to ip 10.1.10.1 which is my router login.
 
Old 03-30-2010, 01:46 PM   #4
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Quote:
Is there a way to make the same thing happen in Windows?
Which "windows"?
But it perhaps does not matter. I googled it for you, try: http://www.ezlan.net/host.html

Why are you running "windows" anyway
 
Old 03-30-2010, 01:50 PM   #5
fancylad
Member
 
Registered: Mar 2008
Distribution: slackware
Posts: 175

Rep: Reputation: 19
i'm wondering why you are setting that private ip to point to www.inwoon.net? does your web server actually host that site? are you trying to do some kind of split view dns? windows does have a host file as well. i think it's in a sub dir of system32 somewhere.
 
Old 03-30-2010, 03:08 PM   #6
Woogieman
LQ Newbie
 
Registered: Oct 2009
Location: Eugene, OR and Klamath, CA
Distribution: CentOS 5.4
Posts: 16

Original Poster
Rep: Reputation: 0
@fancylad: Hey thanks for the response. That's the name of my main web server on my small network and yes my web server actually hosts that site. Check it out.
Do you have another way??
I found the Windows hosts file in c:\windows\system32\drivers\etc\
Thanks a lot that really helped. Now I can test my web stuff.

Last edited by Woogieman; 03-30-2010 at 03:21 PM.
 
Old 03-30-2010, 03:32 PM   #7
Woogieman
LQ Newbie
 
Registered: Oct 2009
Location: Eugene, OR and Klamath, CA
Distribution: CentOS 5.4
Posts: 16

Original Poster
Rep: Reputation: 0
@tredegar: Thanks for the tip. I am running a couple of Windows XP boxes on my network. We do Multiverse Development here and use a lot of .NET with Iron Python for our 3D client. We also use 3D Max here and have found no replacement for it in Linux except Blender and none of our 3D guys really like Blender.
Plus I am a Dreamweaver freak. It is not perfect but it is better than anything I have been able to find in Linux and to me that sucks. I have looked all over for a couple of years for a web dev IDE close to Dreamweaver. I would love to find something better for editing my webpages. A webpage editor that is truly interactive would be nice.
 
Old 03-30-2010, 11:54 PM   #8
fancylad
Member
 
Registered: Mar 2008
Distribution: slackware
Posts: 175

Rep: Reputation: 19
the other way is to use what's called split view dns.

i've never had to implement this. you would need to have a dns server that you manage that all the hosts on your network would use. this is a lot better than having to manually edit lots of hosts files.
 
Old 03-31-2010, 07:21 AM   #9
Woogieman
LQ Newbie
 
Registered: Oct 2009
Location: Eugene, OR and Klamath, CA
Distribution: CentOS 5.4
Posts: 16

Original Poster
Rep: Reputation: 0
@fancylad: I understand. Right now I only have a bank of 8 servers. But DNS and BIND will come into play when we build the next bank. I sure appreciate your help and will keep the 'split-view dns' concept in mind when we setup our own nameserver. I bought both of the books DNS and BIND at around 700 pages and the companion DNS and BIND Cookbook at around 600 pages. Just looking at the size of the books was enough to make me wait a bit until I have time. It may well be a weekend in the office to make it happen. But not until after I go through the books.
Once again thanks.
 
  


Reply



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
trying to block users from accessing web site with iptables Histamine Linux - Security 2 08-10-2007 08:36 AM
trying to block user from accessing external web site with iptables Histamine Linux - Networking 1 08-10-2007 07:43 AM
Accessing Web Site dudeman41465 Linux - Networking 2 09-17-2005 10:36 AM
prevent irc script accessing web site dtra Linux - Networking 3 06-09-2005 06:10 AM
Accessing web server by the domain name technician Linux - Networking 6 12-01-2004 02:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:40 AM.

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