redirect domain service on different IPs

johnm07
johnm07 used Ask the Experts™
on
I recently removed a website from an internal server and moved it to a off site hosted server.
My problem, I need to continue to accept web service traffic hosted on the internal web server. So both the website and the webservice use the same domain but are located on different servers.

Website address was configured as - www.domainname.com
webservice address was configured as - www.domainname.com/webservice 

Since the web service is not a subdomain, I'm not sure how to properly set a DNS record to direct that traffic to the internal server while still directing website traffic to the hosted website.

Thanks in advance.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

Author

Commented:
Found the fastest resolution was to use the hosting providers buit-in URL redirect to redirect the traffic.
Top Expert 2014
Commented:
You can do anything with DNS.  DNS works on host names (www.domain.com), not URI's (/webservice).

Your best bet for a long term solution is to create a unique host name for the webservice, like

     webserviceA.domain.com

Then notify all users to start using that host name for the webservice.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial