I would expect that if your host allows you to park the domain that its
not actually doing a 301, but just pointing the IP address at both sites
and letting apache handle the serving. The vhosts file will just make
both urls point to the same directory. Does the address in the bar change
when you go to one of the parked domains? If I go to my-company.com will
it then show mycompany.com in the address bar? Or does the address still
show my-company.com?

If your address doesn't change then you are "parking". If the address
changes then you are doing a 301 redirect.


Thanks
Bryce Martin
Programmer/Analyst I
570-546-4777



Jon Paris <jon.paris@xxxxxxxxxxxxxx>
Sent by: web400-bounces@xxxxxxxxxxxx
12/03/2010 01:17 PM
Please respond to
Web Enabling the AS400 / iSeries <web400@xxxxxxxxxxxx>


To
web400@xxxxxxxxxxxx
cc

Subject
Re: [WEB400] DNS Question






Many thanks to Scott and David for the excellent explanations.

From David's piece I now know that a CNAME wouldn't have worked - so
that is goodness - I don't want the server to have to know about the
domain.

From Scott I understand better how it hangs together.

Bryce - useful to know but not relevant right now. These are all
domain names centered around the "real" names I'm using to stop anyone
else from creating sites with similar names. For example I have some
where I own MyCompany.com but also have registered My-Company.com and
MyCompany.net to give a little more protection to the domain. If
anyone enters those URLs I want them to go to the main site.


Jon Paris

www.Partner400.com
www.SystemiDeveloper.com



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.