0

I need to make a development machine, so I have made a web application on port 80, gave it host header: google.sharepoint.com, I just wanted to play with names and see how it will be, so I added a host name in DNS, for google, and IP of my server, and in the binding in IIS I changed the binding for the web application to google.sharepoint.com, but now when I go to my site collection on http://google.sharepoint.com, it sends me to sharepoint.com.

Is it possible to use such names in development? or I can't use well known names for my sites?

1 Answer 1

1

You need to make a zone named "Sharepoint.com" on your DNS server(s), so they become authoratiative (to you) for the sharepoint.com zone. Otherwise, your DNS servers are going to identify the actual authoratitive DNS servers for sharepoint.com (on the public Internet).

Alternatively, you can edit your local machine's hosts file for 'google.sharepoint.com' and point it to the IP of your developer server.

3
  • Can you provide me with the steps to do so on the DNS? Also, will it be different if I use another name for that? If I use something like: Machine.dev.com, will it work without changing DNS? Commented Aug 26, 2013 at 13:55
  • A better approach is to use a different TLD than ".com" as that actually resolves to a valid domain. Use ".local" or ".dev" instead. You still have to configure DNS/hosts to get the request there though... Commented Aug 26, 2013 at 16:11
  • I would generally suggest purchasing a domain instead. Given .com domains are ~$7/year, it provides a more 'real' environment to work with. Commented Aug 26, 2013 at 21:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.