Link to home
Start Free TrialLog in
Avatar of afi99
afi99

asked on

Can you manually create 2 dns records to same ip?

Hi,

Just looking for clarification on  dns records. I need to manually add a record to an external ip on a sub domain due to some weird historical setup\reasons. Basically they have an OWA and a Sharepoint server on the one external address. Can I simply add a record for each app, sharepoint.domain.com and owa.domain.com to that external ip and it'll get to where it needs to go? Sharepoint is http and owa https.

Or would another way to do it is to setup a conditional forwarder to the subdomain so it sends all requests to the authority name server?

any help would be appreciated.

Cheers
Avatar of pritamdutt
pritamdutt
Flag of India image

You can assign multiple A Records to a single IP.
This is normally done in cases when you might be running multiple domains on same machine/server.

Once you have assigned multiple A Records to a single IP, you configure a mechanism on the server to redirect traffic to appropriate service. For example in case of web hosting you configure webserver for name based hosting and it would know what content to server for a specific request.

However, in case you have to use same Public IP to map to multiple Private IPs it becomes little tricky and then you rely on following options:

1. Inward Port Translation : Works great in scenario like yours where different services are to be served by different servers
2. Reverse Proxy: Works great in scenarios where you have http services running be running internally on same IP/different port or different IPs, but for external world they all run on port 80 (http)


Hope this helps!

Regards,
ASKER CERTIFIED SOLUTION
Avatar of Premkumar Yogeswaran
Premkumar Yogeswaran
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi

On your external domain, you can create the following:

mail.subdomain.domain.com     10.20.30.40
sharepoint.subdomain.domain.com   10.20.30.40

But, what you need to also do is port forwarding on your router.  All the traffic from both services will arrive on the same IP address, 10.20.30.40.  You need them to use different ports.

HTTPS  will be used on port 443 by the OWA.
SHAREPOINT will need to use another port number, 8185 for example.

Then you;d have:

mail.subdomain.domain.com     10.20.30.40
routed to
INTERNAL IP   Port 443

sharepoint.subdomain.domain.com   10.20.30.40   port 8185
routed to
INTERNAL IP OF SHAREPOINT    Port 8185

For the users:

https://mail.subdomain.domain.com/owa
https://sharepoint.subdomain.domain.com:8185

Regards
M.