DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   Domains and DNS (http://www.daniweb.com/forums/forum150.html)
-   -   Alias Redirect (http://www.daniweb.com/forums/thread104334.html)

bnrup Jan 11th, 2008 2:08 am
Alias Redirect
 
Ok, so here's my problem. Domain name A is set up to be an alias redirect to domain B. If I browse to Domain A it redirects, but the URL in the address bar changes to that of domain B. Is there a way to keep domain A in the address bar but still have it redirect (Note: I cannot just point the Domain A to the server because the IP address is dynamic; Domain B (which points to the server) is hosted with a Dynamic DNS provider.

cfriisha Jan 11th, 2008 9:02 am
Re: Alias Redirect
 
I just come to thinm, if you are using apache/php and have module rewrite active, then you could possibly use a rewrite rule. I am not really very good at writing rewrite rules, so please ask someone else to help you out there.

bnrup Jan 12th, 2008 11:35 am
Re: Alias Redirect
 
Quote:

Originally Posted by cfriisha (Post 508493)
I just come to thinm, if you are using apache/php and have module rewrite active, then you could possibly use a rewrite rule. I am not really very good at writing rewrite rules, so please ask someone else to help you out there.

Thanks! I thought mod_rewrite did something like this, the Apache manual can get pretty vague.


All times are GMT -4. The time now is 12:15 pm.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC