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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

mod_rewrite change domain name

Status
Not open for further replies.

Geronantimo

Technical User
Apr 3, 2006
79
SE
Can mod_rewrite be used to change the domain name in a url?

I have one domain hosted with a little space and another domain hosted with more space. I have a mod_rewrite rule on the first domain that re-directs everything to a sub-directory the second domain.

Now, I would like to know if it is possible to change the url that shows in the browser to look to the visitor as though it is still on the first domain.

Can this be done?
 
why are you asking in the php forum and not the apache forum?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top