Multiple domain re-direction?

  • Thread starter Thread starter Joe
  • Start date Start date
J

Joe

I own several different domains for my business due to
contractual agreements not allowing me to treat all my
resturants as the same business... Long story...

Anyway, I have all these domains registered to the same
site (IP) and was wondering if there anyway in FrontPage
to automatcally send people to the correct site, i.e.:
www.domain1.com would go to site 1, www.domain2.com would
go to site 2, etc...

Right now I'm doing it in ASP with a default.asp using the
Request.ServerVariables("HTTP_Host"), but using this
method prevents me from using FrontPage...

Does that even make sense?
 
Are the "sites" all part of one web.
In other words are they subwebs within one
web site??
 
Joe said:
I own several different domains for my business due to
contractual agreements not allowing me to treat all my
resturants as the same business... Long story...

Anyway, I have all these domains registered to the same
site (IP) and was wondering if there anyway in FrontPage
to automatcally send people to the correct site, i.e.:
www.domain1.com would go to site 1, www.domain2.com would
go to site 2, etc...

Right now I'm doing it in ASP with a default.asp using the
Request.ServerVariables("HTTP_Host"), but using this
method prevents me from using FrontPage...

Does that even make sense?

You can't do that using FrontPage. You might find a JavaScript that does
what you want, but that's a clumbsy solution.

You are probably best off having the host do that on the server directly.
 
Joe,

I do something similar, but it is based on hosting
support and not FP.

Our host allows us to have 12 domains on one account, all
I do is create a main account and then a main website
www.yourdomain.com

For each unique domain that resides on the same account,
I create a directory and upload unique files based on
that web.

We then place an asp script within the root and name it
default.asp. This redirects users to the directory that
contains the unique web.

For example if someone enters www.ourdomain.com it goes
to the main domain (root web -
www.ourdomain.com/index.htm)

If someone enters www.ourdomain2.com it points to the web
that resides in the unique directory
(www.ourdomain2.com/domain2)

I am able to edit each web as needed in FP without any
issues, but this is based on our host allowing /
supporting this procedure and not FrontPage.

Hope it helps,
JDR
***********************************
 
Hi JDR,

Does not your WPP allow you to point a domain to a folder within the web
site? That is the normal case for this type of setup.
Who is the host?
 
To avoid problems, always open your site directly in FP using the primary
domain associated with your web hosting account.

As for users viewing the site in a browser, on a Windows IIS server, ASP is
the best solution.

Example: Both of the following domains share the same hosting account and IP
Address, as well as certain content:

http://www.ecom-data.com
http://www.ycoln-design.com

Ecom-Data is the primary, so this domain that I use when publishing.

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, Forums, WebCircle,
MS KB Quick Links, etc.
==============================================
 
You will notice that both of my domains start from the web root, not from a
folder, this requires that the default document (home page) contain the
necessary text and navigation for both domains. The correct
content/navigation is displayed based on the requested domain via ASP.

--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, Forums, WebCircle,
MS KB Quick Links, etc.
==============================================
 
Hi Mike,

Yes we are able to point to a domain to a specific
folder, but we must use an asp script to redirect.

This only applies to clients that need unique domains /
content that reside on one account.

I use InfoQuest Technologies to host the majority of
sites we develop.
http://www.infoquest.com

JDR
*****************
 
You may also want to check with your domain name registrar. Some
(GoDaddy.com, for example) provide free "forwarding" of your domain. Thus,
entering www.Domain1.com in the browser will be result in the domain
www.Domain2.com showing up on screen. There's no reason why dozens of
domains couldn't be forwarded in this manner, eliminating all headaches at
the server level.

Alex
 
JDR,

All of my domains are also hosted with IQT as well.

--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, Forums, WebCircle,
MS KB Quick Links, etc.
==============================================
 
However, that doesn't solve the original issue of being able to access the
individual domains via FP. In many cases when you use a domain registrar to
forward a domain, it done via frameset, which creates other issues.

--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, Forums, WebCircle,
MS KB Quick Links, etc.
==============================================
 
Hi Thomas,

We have worked with IQT for over 4 years and their
service and support are great.

JDR
******************
 
JDR,

I agree the service and support is excellent. I have been with them since
1997, plus all but 3 or 4 of my clients are also hosted with them.

--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, Forums, WebCircle,
MS KB Quick Links, etc.
==============================================
 
Back
Top