HTTP redirection to HTTPS

I have a customer using a W2K12 server. It is a DNS and unfortunately their server domain is the same as their internet domain. Their web site is hosted elsewhere (the IP address of the web site is say So I went in to the DNS on their server and made a Host(A) record called www and pointed it to that IP address.

   All was well until they has a new ad agency re-write their web page. So I went in to their DNS on their server and changed the Host(A) for www to the new IP address. If I fall out to the command prompt and ping it resolves to the right IP address but.... whenever they open either IE or Chrome and type in it redirects to (http to https) and there is nothing on 443 so they get the "Page Not Found" error.

Where is this redirection from http to https taking place and how can I end it?
LVL 15
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ITSysTechSenior Systems AdministratorCommented:
Could you run this on a computer with this issue, from a command prompt and try it again? ipconfig /flushdns
ITSysTechSenior Systems AdministratorCommented:
Are they using IIS or Apache to run the ? If IIS then look here.

LockDown32OwnerAuthor Commented:
They are using IIS on the server but I just noticed that even off-site the redirection occurs. So wouldn't the redirection have have to be somewhere in their Internet DNS?
Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

David FavorLinux/LXD/WordPress/Hosting SavantCommented:
Best to stick with normal DNS conventions to get this working.

1) Setup an A record for (bare domain).

2) Setup a CNAME record for www referencing (or '@' shorthand).

3) Generate a LetsEncrypt cert to cover both domain + www, as in...

certbot-auto certonly --no-self-upgrade --non-interactive --rsa-key-size 4096 --email your-email-addr-here --agree-tos --webroot -w /var/www/html -d -d

Open in new window

4) Setup redirects of http domain + http www + https www to + likely all will work perfectly well.
The redirection isn't in DNS, but within the site itself.
However, I'm wondering if the problem is actually the redirection to use HTTPS, or the fact that you're going from "" to "".  Use of "" will cause you issues since the AD domain name is the same as the public domain.  "" inside your AD will resolve to each of your AD servers, and you do not want to change or add to that.
LockDown32OwnerAuthor Commented:
I am aware that using is an issue and it can all go away if I can find out where this redirection is being done and reverse it.

   Once again the redirection is global. It happens internally and externally so it isn't in their server. When you open a browser and type in it changes (redirects) the browser to

Where is this redirection happening?
The redirection is happening on the web server.  The external dns servers only direct traffic to the company's website.  The web server instance would then redirect from http to https and strip the www from the uri.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
LockDown32OwnerAuthor Commented:
That seems to make the most sense. Being done by the Hosting service. Something I really have no control over. Thanks!
I already mentioned that the redirection isn't due to DNS, but is done via the site.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.