Redirect my website internally to an external website

Anthony Tropiano 6 Reputation points
2020-12-09T05:51:56.073+00:00

Hello (before I start I should mention I have no way of putting this thread in the DNS forum, I cannot find the forum),

I've been trying to do this for a few days with no success and I must be missing a step.

My internal domain is abc.com

My external domain is also abc.com

In the past in order to get my website to work I had a DNS pointer that said www point to my external website IP. It worked fine

I have to now point my website to a different site, abc.com redirects to xyz.com

Externally, that works fine, internally however I can't make it work.

I tried putting the IP of the new site as a new DNS record, I tried a CNAME that was abc = xyz.com that didn't work

I tried to do it via IIS where I put http redirects, that also failed.

Can someone help me out, maybe explain to me what I'm doing wrong

Thanks !

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,154 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Anthony 21 Reputation points
    2021-01-18T04:01:40.643+00:00

    Hello sorry this took so long to answer
    an nslookup to xyz.com returns their remote address where i want to be going
    nslookup to abc.com returns my old website which i am currently being directed to. I no longer want to go to abc.com I would like when I type www.abc.com I get redirected to www.xyz.com

    Externally this works because there is a CNAME in the DNS but internally i cannot figure it out. I thought it was a DNS issue but now I'm being told it is IIS related.

    Any ideas?

    0 comments No comments