URL Redirect

I am using a piece of software of that has a user front end, https://servername/site/site/site. I want my users to be able to easily get to the page by going to https://servername.domain.com. How and where do I set this up?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

btanExec ConsultantCommented:
can try <httpRedirect> (with the "add wildcard") in the root ApplicationHost.config file which can perform HTTP Redirection. But as it is not available on the default installation of IIS 7 and later do see below to enable it and subsequently can be set to send e.g. response with "301" Permanent in your case. @ http://www.iis.net/configreference/system.webserver/httpredirect/add

OR better check out the URL rewrite module which is an extension to IIS. It is available as a download for stand-alone IIS Server. http://www.iis.net/learn/extensions/url-rewrite-module/creating-rewrite-rules-for-the-url-rewrite-module
See link for example for original to destinated URL redirect. It tends to have more granularity as in changing requested URL’s before they get processed by web server and for modifying response content before it gets served to HTTP clients (as compared to <httpRedirect> wildcard to the request URL)
It's simple:

I the DNS, in the zone domain.com you must have an A record for www.domain.com and the IP of web server.

Then you must define a new site in IIS, www.domain.com, which points to (probably) C:\inetpub\wwwroot\site\site\site

Best regards!

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
btanExec ConsultantCommented:
That is viable too with  as long as your DNS server serving the domain.com zone has something like
servername.domain.com  CNAME  www.domain.com
www.domain.com                    A        servername-IP

thereafter can be as per shared by the expert as well. You may even change the hostname of user machine if that is viable to have servername.domain.com  point directly to the servername-IP.. but do note that it needs to have the SSL cert provisioned in your web server since you are stating https. If the subject name need to point to the right fqdn hostname so if using www then subject name is "www.domain.com" fqdn. Otherwise, the browser will complain not trusted site.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.