Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > OS X > Mac OS X Server, Xserve, and Networking

Reply
 
Thread Tools Search this Thread Display Modes
Old May 29, 2012, 01:05 PM   #1
Iiwii
macrumors newbie
 
Join Date: Mar 2008
OSX Server help

I am a bit of a newbie at this and I tried looking for the information online but I'm not sure how to call it, I though it was sub domain, but when I look online for information I get something else. This is my situations
I have two computers, one is a Mac Mini with OSX Lion Server and the other is a random desktop running Ubuntu. When I am away I use my Macbook Air to VNC into my Mac Mini, but I want to vnc into my desktop also. When I want to vnc into my Mac Mini I press command+k and type in "vnc://example.com" and it works. I want to set up something like that for the other computer like "vnc://second.example.com" I'm not too sure the steps I have to take for that, but I have tried going into Server Admin and DNS>Zones. I added a Machine(A) with the local ip but when i try the address it just goes back to my Mac Mini not the other computer. Does any one know how I can do this or the name of the method its called. I'm not even sure if I should be setting it up from the Mac Mini or from the other computer.... If I'm suppose to set it up on the other computer then sorry for posting it here. I'm just a bit confused and don't know how to call it.
Iiwii is offline   0 Reply With Quote
Old May 30, 2012, 08:03 AM   #2
fotoruss
macrumors newbie
 
Join Date: May 2012
Location: Melbourne, Australia
I'm assuming you have the Mac Mini and Ubuntu box behind the same firewall and internet connection. Is that correct? If so, you will need to setup port forwarding in your firewall and point specific ports to specific IP addresses.

For example:
5900 (default vnc port) goes to Mac Mini: 192.168.0.1
5901 goes to Ubuntu: 192.168.0.2

When you connect you just specify the port and your router will direct your connection to your desired IP address.
fotoruss is offline   0 Reply With Quote
Old May 30, 2012, 09:28 AM   #3
Iiwii
Thread Starter
macrumors newbie
 
Join Date: Mar 2008
Thank you for the response, I have already set port forwarding and I can connect to it from my external ip, but i would like to setup DNS so that i would have to type in a domain name. Since I have my Mac Mini with a domain name i can vnc into that with the domain name. I want to do the same for the other machine but with another name.

Mac Mini vnc://example.com
Ubuntu Desktop vnc://second.example.com

That is how I would like to connect to my other machine
I tried setting up an Machine Record with the local ip of the ubuntu desktop, if I'm on my Mac Mini and vnc with (vnc://second.example.com) it will work, but if i vnc with the same things (vnc://second.example.com) from my MacBook Air it will connect to my Mac Mini.
Iiwii is offline   0 Reply With Quote
Old May 31, 2012, 07:55 AM   #4
Iiwii
Thread Starter
macrumors newbie
 
Join Date: Mar 2008
So I have been looking online and came up with another solution, instead of having different machine names like second.example.com, I just changed the port numbers for ssh and vnc on the other computer.
So if I want to ssh into my Mac Mini(server) i type in "ssh user@example.com"
and if I want to ssh into the Desktop, since I changed the ssh port number to something else like 77 I type in "ssh user@example.com -p 77"
Not what I originally wanted but it works.
Iiwii is offline   0 Reply With Quote
Old Jun 4, 2012, 03:45 AM   #5
fotoruss
macrumors newbie
 
Join Date: May 2012
Location: Melbourne, Australia
Quote:
Originally Posted by Iiwii View Post
So I have been looking online and came up with another solution, instead of having different machine names like second.example.com, I just changed the port numbers for ssh and vnc on the other computer.
So if I want to ssh into my Mac Mini(server) i type in "ssh user@example.com"
and if I want to ssh into the Desktop, since I changed the ssh port number to something else like 77 I type in "ssh user@example.com -p 77"
Not what I originally wanted but it works.
Glad to hear that solution works for you.

With the original way you wanted to set it up you would have had to change external DNS records, not the internal machine DNS records on your mac mini. Because you are connecting from the internet, the internet needs to know where second.example.com actually is. I think that's where the problem lies?

I could be wrong here, but I would suspect to achieve that you would need to add a specific record in your example.com external DNS settings which points to your external IP address, and then setup a re-direction in your NAT router to point to an internal address when second.example.com gets hit.

Thoughts?
fotoruss is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > OS X > Mac OS X Server, Xserve, and Networking

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
OSX 10.9 Server 3.0.2 UKgaryb Mac OS X Server, Xserve, and Networking 2 Jan 9, 2014 01:42 PM
NAS or OSX Server tobylee703 Mac Peripherals 22 Dec 30, 2013 10:48 AM
OSX 10.5 Server help Warfel005 Mac OS X Server, Xserve, and Networking 0 Dec 9, 2013 01:39 PM
OSX Server - A few Q's Macs4u Mac OS X Server, Xserve, and Networking 10 Aug 4, 2013 05:43 AM
Actualizing my mini server to OSX server ecapdeville Mac OS X Server, Xserve, and Networking 3 Jul 25, 2012 10:54 PM

Forum Jump

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

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC