Web Hosting Talk







View Full Version : url aliasing question?


partyvibe
02-23-2006, 09:04 AM
Could some tell what the best way to alias one url for another is using apache please?

I've just gone from a static home page in webroot to using a page further down and I'd like to hide the fact...

ie:

old_url = domain.com

new_url = domain.com/dir/file.php?pg=index

target_url = domain.com using the content of domain.com/dir/file.php?pg=index

Many thanks...

hugh

[NQ]KING
02-23-2006, 03:43 PM
Well i'm not sure about apache but couldnt you just edit your DNS zone for the domain name to point the new location?

partyvibe
02-24-2006, 06:41 AM
I think we've found a solution. Thanks for your suggestion...

hugh