Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

URL Masking - HOWTO?

Status
Not open for further replies.

CTekGirl

MIS
Jul 23, 2003
76
US
I have a one-page website that I would like to use with an existing hosting site. I initially tried to purchase a one-page website, but it was too restrictive and would not allow me to use my own background or graphics.

Technical support suggested that I use 'URL masking' and place this one page website in a sub-directory of one of my other domains. I am not a webmaster, so I have been looking for some direction on how to do this, but I cannot find and detailed information.

It is my understanding that with URL Masking two domains can exist under one hosted domain site. If any one has any information or links with instructions on how to set this up I would appreciate it.
 
What he said by url masking isn't really masking.. He means use frames...

Say the problem domain is ex1.com and you have another domain xgood.com..

Put the site for ex1.com in a subfolder of exgood.com so your site's location would be...

exgood.com/ex1 or something like that..

Then use html frames to show ex1 on ex1.com

Code:
<frameset cols="0,*" border="0" frameborder="0" framespacing="0">
  <frame name="hidehole" src="urltoablankpage.html">
  <frame name="maincontent" src="[URL unfurl="true"]http://exgood.com/ex1">[/URL]
</frameset>

The above is the source of your page as should be put directly on ex1.com

Tony


ALFII.com
---------------------
If this post answered or helped to answer your question, please reply with such so that forum members with a similar question will know to use this advice.
 

>> What he said by url masking isn't really masking.. He means use frames...

Erm... Isn't that exactly what URL masking is?

Dan
 
I suppose but I was trying to clarify between the point of point domain parking which the author seemed to have confused.

ALFII.com
---------------------
If this post answered or helped to answer your question, please reply with such so that forum members with a similar question will know to use this advice.
 
There was no mention or confusion with 'domain parking' that is not what I am trying to do. By definition domain parking is a service that the Web host will offer to its clients as a way of securing a domain name for future use.

I was just trying to get information based on the recommendation I was given by a technical support person. To clarify the obvious, I was advised that there is a way for two separate '.com' sites to existing under the same hosted account. The fact that the second domain exists within the same hosted account as the primary would be transparent. The user would still type thesite.com although the site would exist under primarysite.com. Hopefully that clears up your confusion. If there are any "technical' recommendations or comments that you have beyond what is stated, I would welcome the opportunity.
 
My recommendation above should do the trick, but regardless, sorry for the apparent confusion that I caused...

Anyway there's nothing very technical about this, its a technique that's pretty old...

Is there some part of my code you're not understanding?

ALFII.com
---------------------
If this post answered or helped to answer your question, please reply with such so that forum members with a similar question will know to use this advice.
 
I haven't had the opportunity to try it yet. I appreciate the code, I just wanted to clarify the question in case someone else looked this up.

That being said, I originally did the page in Dreamweaver, so I will need to edit the source HTML code in order to apply this. Although I have designed some pages just using HTML code,I wlll get some assistance, since my experience does not go beyond the basics. I will update this tip with my results. Thanks
 
Yeah, no problem..

Anyway good luck, and we're all here for help if you need it... Also you'll notice a link at the top that says FAQs... you can create a faq on the subject so that the answer is direct and if you notice anyone else asking the same question, you just post a link to your FAQ.

ALFII.com
---------------------
If this post answered or helped to answer your question, please reply with such so that forum members with a similar question will know to use this advice.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top