Tip Top Linux means to provide you tips to improve your linux skills. Linux is wide but if we broaden our mind to learn then everything is fine... Request related to linux for new topics will be accepted from the visitors and updated with in 24 hours of the request. If you know the tips or tricks just share with us..
Wednesday, August 11, 2010
Domain forward/masking (or) Domain Redirection/masking
If want to redirect one domain to the other domain. But want to display the first domain in the address bar use the below steps.
1. Create a new "index.html" under your site's root directory.
2. Copy the below code
<FRAMESET ROWS="100%, *" COLS="100%">
<FRAME SRC="your link here">
<NOFRAMES>
<H1>No Frames? No Problem!</H1>
Take a look at our
<A HREF="basic.noframes.html">no-frames</A>
version.
</NOFRAMES>
</FRAMESET>
3. Save the file
All is set fine now. You can access the first domain with its url in the first bar but it contains the content of second domain.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment