Trouble With Sub Webs HELP!!!!

T

TerryM

I have a personal website that I manage - www.terrymac.net
I also managed a separate website on different server: www.womenofthewell.com. I created a subweb on my personal website - www.terrymac.net called myweb3 and want to redirect the domain name - www.womenofthewell.com to the location of my subweb: http://www.terrymac.net/myweb3. I redirected the domain name: www.womenofthewell.com to the ns2.powweb.com and ns3powweb.com (name servers). But my web hosting coming is now telling me that I have to add the following code to my .htaccess file

RewriteEngine O
Options +FollowSymlink
RewriteBase
RewriteCond %{HTTP_HOST} womenofthewell.co
RewriteCond %{REQUEST_URI} !myweb3
RewriteRule ^(.*)$ myweb3/$1 [L]

When I did this, it made my site look yucky. I think it did something to my extensions

Microsoft sure does not make this process easy

Any suggestions???
 
T

Thomas A. Rowe

First this is not a Microsoft issue, this is hosting issue.

Example: The following two web site share the same IP Address and web space, however they are hosted
on a Windows Server and ASP is used to make sure the correct content is returned based on the
request domain name.

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

The way that I did this, so that each domain appears to have it own root, was to create a single
default.asp (home page) that has the content for both domain, and individual Includes for the
specific domain's navigation.

The normal approach is the create a subweb and then point the domain to the subweb, but that shows
the URL of the domain including the name of the subweb. This can become a issue if you later decide
to host the domain under it own web account, because the search engines will have indexed your site
including the subweb as part of the URL, resulting in broken links.

If your Unix/Linux host has support for ASP or PHP, you should be able to do the same, as long as
the host has added the domains to their DNS server without having to modify the .htaccess file.
--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================


TerryM said:
I have a personal website that I manage - www.terrymac.net.
I also managed a separate website on different server: www.womenofthewell.com. I created a
subweb on my personal website - www.terrymac.net called myweb3 and want to redirect the domain
name - www.womenofthewell.com to the location of my subweb: http://www.terrymac.net/myweb3. I
redirected the domain name: www.womenofthewell.com to the ns2.powweb.com and ns3powweb.com (name
servers). But my web hosting coming is now telling me that I have to add the following code to my
..htaccess file:
RewriteEngine On
Options +FollowSymlinks
RewriteBase /
RewriteCond %{HTTP_HOST} womenofthewell.com
RewriteCond %{REQUEST_URI} !myweb3/
RewriteRule ^(.*)$ myweb3/$1 [L]

When I did this, it made my site look yucky. I think it did something to my extensions.

Microsoft sure does not make this process easy.

Any suggestions???
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top