Msg#: 4634512 posted 7:42 am on Jan 2, 2014 (gmt 0)
hi, and happy new year to all!
I have a two domains, one is my main .com domain and the other is country specific tld.. what is the proper way to oly have google index my main .com domain? do I park my .gr on to the .com or 301 redirect? and how do I do this on iss asp hosting?
Msg#: 4634512 posted 7:56 pm on Jan 2, 2014 (gmt 0)
Yikes, htdawg, that seems to be three separate questions. I'd suggest getting the conceptual SEO/DNS issues taken care of-- probably in a different subforum-- before coming back here for the IIS nuts and bolts.
Msg#: 4634512 posted 9:38 pm on Jan 2, 2014 (gmt 0)
I use primary domains for each web site and any secondary domains I redirect within IIS Manager. This requires one record in IIS Manager to handle the primary, which is pointed at the web site home folder, and one for the 301-redirects to the primary record.
My secondaries include the non-www URL so that only www.example.com is visible to the internet as an entity. If anyone tries a secondary domain (or non-www URL) they are automatically redirected to the primary domain, either to the home page OR to whatever page they specify (this can be set up in IIS manager OR the setup can be assigned to always go to the home page).
If you do not have access to IIS Manager you will probably have to ask your server provider to do this for you. There are other ways but they are less suitable/elegant/reliable.