a webmaster learning community
     Home    Register     Search      Help      Login    
FrontPage Alternative
Sponsors

Hosting from $3.99 per month!

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions. dd

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

 

URL masking

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> General Web Development >> URL masking
Page: [1]
 
winglestar

 

Posts: 12
Joined: 3/7/2002
From:
Status: offline

 
URL masking - 5/8/2003 9:35:47   
I have just moved hosting companies and I am now hosting several domains within the same package.
All works fine except the url address is a bit screwed up.
For example lets say the main domain is www.domain1.co.uk, when sombody looks for www.domain2.co.uk which we host in a sub folder to which they are directed to by a defaut.asp script their url changes to www.domain1.co.uk/domain2/index.htm

Is there anyway I can mask the domain so thet the browser only sees their part of the domain or just what they typed ?

Your help would be appreciated.
Nutz in Midwest

 

Posts: 141
From: Chicago None
Status: offline

 
RE: URL masking - 5/8/2003 10:40:06   
I have had the almost the exact same problem last few days.

I used single letters to differentiate the sub-webs such as:

www.domainname1/a/pagename.htm
www.domainname2/b/pagename.htm
www.domainname3/c/pagename.htm
www.domainname4/d/pagename.htm

I cant think of any other way at this time. To me this isn' t a drastic " revealation" to the user of whats happening.

According to my info there is a way, but I think its more trouble than its worth. Maybe a few of the more experienced can help.

Look for my thread of " Confused on changing server types"


_____________________________

 Nutz in Midwest

***chicago, therefore the Midwest in my name***

(in reply to winglestar)
Mojo

 

Posts: 2443
From: Chicago
Status: offline

 
RE: URL masking - 5/8/2003 13:11:27   
I must not understand fully what is going on because it seems like all you need to do is point domain#2 to the IP where domain#1 is located. Then, simply forward it to the correct folder. I have this running for several domains.

_____________________________

Split Testing
Order Fulfillment
Emergency Kits

(in reply to winglestar)
Jim McShane

 

Posts: 48
Joined: 8/13/2002
Status: offline

 
RE: URL masking - 5/8/2003 23:06:13   
well i hope this is what your looking for... i ran into this issue about a few months ago .. when we decided to save money on hosting but putting two webites on 1 plan. in the default page of our main domain i decided to use a php script (default.php)

<script language=" php" >
if (getenv (" HTTP_HOST" )==" www.lablockers.com" or
getenv (" HTTP_HOST" )==" lablockers.com" ) {
Header(" Location: http://www.lablockers.com/labweb/default.htm" );
exit;
}
</Script>

our main domain is mcshanwelding.com and this is placed in the defualt.php page... when a user types www.mcshanewelding.com --> www.mcshanewelding.com is displayed ... our second domain is www.lablockers.com --> when typed in www.lablockers.com/labweb/defualt.htm is displayed ...

that way atleast the correct domain name is displayed when the address is typed in browser.


(in reply to winglestar)
Page:   [1]
OutFront Discoveries

All Forums >> Web Development >> General Web Development >> URL masking
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts