http to https

Hi there!

I'm having an issue and i will try to explain it the best i can with as much detail as possible.

We have our intranet(internal), lets call it http://company and is on port 80, we also have external access, lets call it http://external.company.com and is on port 443. I have a https certificate to make the external become https://external.company.com but have the internal remain http://company

I want the internal to stay http but the external to become https. I have tried using http redirect but that isn't the solution as it redirects everything. I have tried URL rewrite but all results change the internal over to https which i don't have a certificate for.

Using IIS version 7.5 on Windows server 2008R2

I've tried various ideas from across the internet and cannot find the solution to this problem. Can anyone help me out? I can give more information as its needed.

Any suggestion are very welcome!
HWFD83Asked:
Who is Participating?

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

x
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.

Paul MacDonaldDirector, Information SystemsCommented:
You should be able to conditionally rewrite the URL.  Check the incoming request to see if it's from the local network (192.168,x.y or whatever) and rewrite the URL if it's not.
Michael FowlerSolutions ConsultantCommented:
Sounds like you need a reverse proxy. Apache is a popular option for this

http://www.giuseppeurso.eu/en/redirect-from-http-to-https-and-viceversa-with-apache-proxypass/

This option would enable you to had additional security such as placing the proxy in a DMZ
Rainer JeschorCommented:
Hi,
is this a SharePoint site?
If yes, please do mothing directly in IIS as this may harm your SharePoint web application. What SharePoint version? Are both urls representing the same content?
Have you extended the intranet web application? Depending on the version you need to properly configure the zones / alternate access mappings.
Thanks
Rainer
Cloud as a Security Delivery Platform for MSSPs

Every Managed Security Service Provider (MSSP) needs a platform to deliver effective and efficient security-as-a-service to their customers. Scale, elasticity and profitability are a few of the many features that a Cloud platform offers. View our on-demand webinar to learn more!

HWFD83Author Commented:
Thanks for the response all!

The site is a Sharepoint foundation site 2010 on version 14.

Both the links do represent the same content with the only difference the internal and external addresses. I have the new address in my access mapping but should i create a new web application in the manager?
martushaProduct managerCommented:
You need to extend your web application and configure alternate access mappings

In my case I extended on 80 port, And changed urls in alternate access mappings like this with https :
Alternate Access Mapping
After I configured SharepOint publishing rule on TMG firewall (http://blog.arjanfraaij.com/2011/01/configure-microsoft-tmg-2010-sharepoint.html )

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
HWFD83Author Commented:
That solved the issue i was having! Thank you so much! I already had my access mapping set up but hadn't extended my web application. Thank you all for the help!
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
Microsoft IIS Web Server

From novice to tech pro — start learning today.