Domain Masking

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
chan2008
Forum Newbie
Posts: 3
Joined: Fri Jun 20, 2008 5:12 am

Domain Masking

Post by chan2008 »

Hi all,

I need to know how to mask a domain either through htaccess or through code.

Say suppose I am having a blog like this http://test.domain.com/ which is working fine. Now I had purchased a domain name alex2008 and I want to mask my blog url through code. like http://alex2008.com which is actually from http://test.domain.com. Any one trying test.domain.com will get the url as http://alex2008.com

Thanks in advance

Regards
Alex
Post Reply