I have this situation. I need to set a domain to a Sharepoint farm and configure it, but the problem is that the domain exists and If I type the domain (let's say it's example.com), I'm being redirected to the real domain.
So practically this is what I wan't to achieve.
- Create a local domain version of example.com in order to access to my sharepoint website.
I have tried this.
- DNS Manager: I create a dns zone for example.com
- Add example.com as host name to website in IIS with port 80
- Changed the url of Sharepoint Web Application to example.com
But it keeps redirecting me to example.com public domain, and it does not create a local version of it in my server.
NOTE: The domain is being used by our customers, so no need to worry about that, we just can't bother the customer to change the domain to point another server because the domain is used in production websites, and we just wan't to test things with domain. That is the reason why customer can't point his domain to another server.