image
image

|


Go Back   macosx.com > Mac Help Forums > Mac OS X Server

Reply
 
Thread Tools
  #1  
Old July 5th, 2005, 02:05 PM
Registered User
 
Join Date: Jun 2005
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
dirky is on a distinguished road
Question DNS Server / Remote Desktop access

I have a couple different issues I could use some help with.

I work for a smallish retail business and have just implemented OS X Tiger Server to provide e-mail, web hosting, blog, and a few other choice services. Our current network infrastructure is not exactly the best setup. Here's the rundown:

Internet is provided by SBC via DSL with 5 static IP's. The router provided by SBC allows 5 pinholes to map public IPs to private IPs. (They set this up before I started here. The idea was to allow the owners to use Remote Desktop to connect to and control their work computers from home.) So I have one of the pinholes mapping the IP for example.com (for the sake of argument) to the private IP of the newly installed server. The server is an older iMac G4 Flat Panel unit with only one ethernet port. With this configuration, web server works fine for anyone outside the private network.

What I would like to do is set up DNS so that browsing to example.com from INSIDE our private network will point to the private IP of the server instead of the public one. Heh...actually what I would *REALLY* like to do is buy a nice new Xserve...but we can't afford it apparently. But anyway, is there any way to do this? I am a very quick learner so if someone can just point me in the right direction I'm sure I can do it, but the Server documentation is a little over my head. It's kind of like looking up the definition for a word in the dictionary and finding they have used the word itself to define it...self...er....something...

Anyway, I sure would appreciate any help y'all could provide. Boss-man is all over me to "fix" this so he doesn't have to type 192.168.1.1 to look at our web site. 8-)

THANK YOU IN ADVANCE!!!!
Reply With Quote
  #2  
Old July 11th, 2005, 06:56 PM
Registered User
 
Join Date: Jul 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
davcamer is on a distinguished road
don't do it

I just started with Macs too, but I've done a fair bit of DNS. You're proposing a DNS server that faces two ways, and for a small network it really isn't worth the pain. It involves quite a bit of mucking with config files. I just took a look at the interface for DNS in Server Admin and they don't even provide the possibility of doing this, as far as I can tell.

But there is a relatively easy solution!

Add example.com to the hosts files on all of the PCs behind the router. On OSX this is /private/etc/hosts on windows machines it's aproximately c:\windows\system32\drivers\etc . Searching is probably best. You'll need to add a line

www.example.com 192.168.1.1

I hope that helps!
Reply With Quote
  #3  
Old July 15th, 2005, 10:17 AM
Registered User
 
Join Date: Jun 2005
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
dirky is on a distinguished road
Davcamer: THANK YOU! That is exactly what I wanted to do. Cheers to you!
Reply With Quote
Reply

Thread Tools

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -5. The time now is 11:53 PM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.