Website redirecting question

YeOldeStonecat

Well-Known Member
Reaction score
6,698
Location
Englewood Florida
I'm not a website guy at all...so this is way outside of my wheelhouse.

My wife has her own domain, I'll call it THEBESTREALTOR.COM

She recently onboarded with EXP Realty, and they always do their own website in their domain so their tools push to it.
So that website is WIFESNAME.EXPREALTY.COM
A while ago they had me do an index.html to redirect her domain to that website.

If you launch your browser and type in THEBESTREALTOR.COM, it will redirect to the EXPREALTY site..but in your browers URL bar it will show WIFESNAME.EXPREALTY.COM site.
How can we make it so...it still shows THEBESTREALTOR.COM in the address bar of the browser even after it lands on her EXP site??
 
As far as I know the address in the address bar is always the page that is loaded in that browser tab. Did you wife want her old website to go away? Because, more or less, what they are doing. Is the new site, wifesname.exp...., a different website or did they copy it?
 
Code:
<html xmlns="http://www.w3.org/1999/xhtml">    
  <head>      
    <title>The Tudors</title>      
    <meta http-equiv="refresh" content="0;URL='http://thetudors.example.com/'" />    
  </head>    
  <body> 
    <p>This page has moved to a <a href="http://thetudors.example.com/">
      theTudors.example.com</a>.</p> 
  </body>  
</html>

Only the meta tag really matters, the browser will "refresh" to the target URL and the address bar should be coming along for the ride.

Though honestly I usually use .htaccess file to configure the web server to do the redirect for me.

Code:
Redirect 301 / http://example.com/

Save that as .htaccess and drop it into the root folder via FTP or something. If the web server is nginx or apache, the web server will do all the redirecting for you.

A 301 redirect is a permanent redirect that works via HTTP itself, search engines will see that and delist the source and associate any SEO the source URL has gained to the new destination.
 
Last edited:
Back in the day you used to be able to embed the page within the page, but that was a security issue and now the destination page would have to allow the domain to be able to do that.

And in order to CNAME it the destination would need to know how to route your domain name and have the TLS private key for it.

Basically, I think you're out of luck unless they're going to support the setup at this new site.
 
All new website, EXP branded and formatted...sort of a standard template they use for all their agents however it can be customized a bit, and my wife had someone do that.
I'm sure it's part of the contract she signed for them. The big question is there a non-compete type clause. And does she actually have to do the redirect as part of the contract or is it optional.
 
Its called URL masking. Its not advisable and could cause all sorts of problems. If its just a static page (no other links, no contact form etc) there are a lot less problems, but as @trevm999 pointed out, some hosts/setups may not allow this to work anymore due to security issues, loading content from another domain.
As mentioned a 301 redirect is best (which sounds like you've already setup)
 
If you launch your browser and type in THEBESTREALTOR.COM, it will redirect to the EXPREALTY site..but in your browers URL bar it will show WIFESNAME.EXPREALTY.COM site.
How can we make it so...it still shows THEBESTREALTOR.COM in the address bar of the browser even after it lands on her EXP site??

My apologies I misread this the first time.

You cannot make the change you're suggesting without control over the target web server.

@mikeroq Now you're onto something, purchasing a "vanity domain" would solve this problem. Just a bit of DNS after the web server is configured to use the right domain name.
 
Watched this video...makes me think you have to "forward" your existing domain to THEM. So...you lose control of it, my wife has her 365 email setup under the domain....

 
Watched this video...makes me think you have to "forward" your existing domain to THEM. So...you lose control of it, my wife has her 365 email setup under the domain....

Email has nothing to do with web, DNS is also separate.

You can configure your own web server to redirect as you have, and be done with it. Or, if you can work it out with the other provider, get the host header for her custom domain configured on their web service, and then you just change the root and www record to their web server IP address. That'd be the "best" solution, and assuming the provider is as marked above they do "vanity domains."
 
Email has nothing to do with web, DNS is also separate.
Well, have you ever given a domain with existing functional email, or had it's DNS forwarders....handed over to a website hosting company?
Next day...that domains email grinds to a halt? Cuz the website booger pickers couldn't comprehend existing MX records, CNAMES, autodiscovers, SPF, DKIM, DMARC, etc etc? They just assumed a fresh clean slate for a DNS zone?

My wife has had her domain in production for about 15 years...with 365.
I don't want it to stop because I lost control of the DNS control panel..which I currently have at Liquid Web.
 
Well, have you ever given a domain with existing functional email, or had it's DNS forwarders....handed over to a website hosting company?
Next day...that domains email grinds to a halt? Cuz the website booger pickers couldn't comprehend existing MX records, CNAMES, autodiscovers, SPF, DKIM, DMARC, etc etc? They just assumed a fresh clean slate for a DNS zone?

My wife has had her domain in production for about 15 years...with 365.
I don't want it to stop because I lost control of the DNS control panel..which I currently have at Liquid Web.
Then don't give up DNS control? Such places always ask for it, and yet I know you've never given it.
 
Dreamhost has domain mirroring as an option for setting up the domain. I’ve done it for my placeholder site without a problem.

I made a site like placeholder.my company.com and when customers purchased domains just for email or did not want to plop a site on it yet, I would mirror my site.

So you’d type in www.clientdomain.com and the site at placeholder.my company.com would load, but the URL would still be theirs.

No idea how they did it, but dreamhost had that option available.
 
Dreamhost has domain mirroring as an option for setting up the domain. I’ve done it for my placeholder site without a problem.

I made a site like placeholder.my company.com and when customers purchased domains just for email or did not want to plop a site on it yet, I would mirror my site.

So you’d type in www.clientdomain.com and the site at placeholder.my company.com would load, but the URL would still be theirs.

No idea how they did it, but dreamhost had that option available.
It's definitely possible, but only if the one hosting the content is willing to play ball
 
Back
Top