My domain is: suncityproduce.com
My AD domain is: sungroup.com ( we do not own this publicly, it is only internal )
Internal DNS has the following zones: suncityproduce.com - which I need to delete for complicated reasons. sunfriends.com
I would like to make it so that our customers can continue to use suncityproduce.com in their browsers but have them be forwarded inside the network to sunfriends.com
If possible, how does one do this?
I ran this command:
It produced this output:
My web server is (include version):
The operating system my web server runs on is (include version):
My hosting provider, if applicable, is:
I can login to a root shell on my machine (yes or no, or I don't know):
I'm using a control panel to manage my site (no, or provide the name and version of the control panel):
The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot):
You won't be able to "forward" anyone (on the Internet) to a name that doesn't resolve to your IP.
Best you can do is to "proxy" the real external name in towards any other site/name [that must remain unknown/unshown to the client].
You are really overcomplicating this. You should just have your clients do a 301 redirect from the domain they type, into the one you want to serve.
It doesn't look like you own sunfriends.com or sungroup.com ; if they're used internally, fine.. but your clients should only be directed to public internet pages and -- see #1 -- you shouldn't be trying to proxy anything behind the scenes to internal names.
A (properly working) TLS certificate has no influence or impact on redirect things. So I'm still missing the relationship between your issue and Let's Encrypt to be honest.
Note that this isn't a generic Community for generic computer questions.
Thank you for the response. I understand now that the 301 Redirect is the correct way to do this.
I've never done this before. and I was wondering if I had to do anything with the current Let's Encrypt Certificate that we have for suncityproduce.com