There is a website on ISS 10 on windows server 2019.
Default web site and one other.
I have not made any configuration of thoses websites and IIS. It's a crm product, all default settings.
I made a bind with https port and certificate on two websites.
On local network, when i go to https://local_net_adress, it redirect from default website to other site.
From Internet, when i go to https://public_adress, i m not redirected, it shows me default IIS webpage.
Here's my squid configuration from this website :
(squid in reverse proxy is operationnal for exchange webmail and many other apache websites.)
# ----- xxxxxx -----
cache_peer xx.xx.xx.xx parent 443 0 no-query originserver ssl sslflags=DONT_VERIFY_PEER login=PASS name=srv-xxx
acl myacl url_regex -i ^https://public_url/.*$
cache_peer_access srv-xxx allow myacl
cache_peer_access srv-xxx deny all
http_access allow myacl
never_direct allow myacl
miss_access allow myacl
Is issue on squid or IIS?
Ok It's working now.
It was on IIS bindings.
To work, i had to delete binding from default website AND DO NOT PUT hostname on binding for the other website.
Problem solved.
Related
I have default website with lots of virtual directory all clients access to websites by using IP_ADDRESS/virtual_directory
next I have demo site use DNS like www.demo.company.com I would like to create web site that access by domain name and want to keep default website work so I create
new website binding with
new_website : www.demo.company.com on *:80
default_website : on *:80
when I access www.demo.company.com it always go to default_website not new_website. How can I access www.demo.company.com to new_website and keep default_website runnign with IP_ADDRESS thank you
after looking for solution, IIS support hosting this situation by default
the problem is I config wrong host name
I have
sub1.domain1.com bind to 203.xx.xx.xxx but I bind it as
new_website = www.sub1.domain.com on *:80
and I still have
default_website = *:80
so when I enter website by sub1.domain.com IIS looking for sub1.domain.com and not found, then it match *:80 and go to default_website
I have two sites in my IIS 8 server. Site MyProjectA and MyProjectB, for each project I have a domain name, lets say myprojecta.com and myprojectb.com. I have set in my DNS provider that both domains points to the server IP. I have configured so MyProjectA runs on 443 and MyprojectB runs on 8181, both SSL.
So if I browse to:
https://myprojecta.com I see MyProjectA and its working fine
If I browse to:
https://myprojectb.com:8181 I see MyProjectB and that is working
fine.
But now I wonder, how can I configure so I can omit the :8181 part, and in turn reach MyProjectB site by browsing to https://myprojectb.com only (and with correct certificate). As far as I understood this should be possible with a reverse proxy configuration in IIS but I cannot get it to work. Anyone can help how to achieve that?
Since you are using IIS 8, the simplest approach is to set up multiple HTTPS sites at port 443 using SNI support. Then there is no need of reverse proxy.
Reference
I have two websites under IIS (same IP). I want to map them to
website 1: domainname.com (80)
website 1 ssl: https://domainname.com (443)
website 2: sub.domainname.com (80)
problem is, when I add hostname to the binding, I get error 404 when I browse the site. site works fine when I remove the hostname in the binding.
help?
On my windows 2003 server I have two websites: 2send.co.il & oferavnir.co.il
For 2send.co.il I installed SSL.
When I adding Https to oferavnir.co.il (the site without the SSL) the other site content is displayed -
(https://oferavnir.co.il displays the content from 2send.co.il)
Host headers for both site seems to be ok.
What could it be?
By default, the SSL certificate is probably bound to all IP addresses on your server. If you have individual IPs for each site, you can update the binding to only listen on the IP for 2send.co.il. If you are using host headers and a single IP, the 2send.co.il site will respond for all https requests. You could use a product like ISAPI Rewrite to check the URL used for an HTTPS request and ensure that it matches 2send.co.il or else route it to the appropriate http site for the URL
http://forums.iis.net/t/1195794.aspx/1?HTTPS+displays+other+site+contnet
So I have this project I took over from another guy - whom I can't consult with unfortunately. And I have no experience in SSL.
Basically there's this sharepoint web-app which has been setup to use SSL - and everything's working great. I see in the central admin page, that there are two zones to the web-app (standard and internet). In IIS there are 2 web sites containing to this sharepoint site.
One has the port value TCP 0 and SSL port 443, the other a TCP 80 with a redirect to the SSL website. So far so good.
Now I need to extend this website with a forms-authenticated extranet. How do I go about this?
I did, what I would do with a normal sharepoint website, and first extended the web-app from central admin, remembered to set the zone to extranet, and checked "use SSL". (port 1580)
I went into the web-config file in the virtual directory, and set up the forms-stuff (connection string, providers, etc.).
But then I was stumped as to how to actually access this extranet. I couldn't access it by doing:
http://site.com:1580
or
https://site.com:1580
And I tried just changing the existing redirect to the virtual directory of the extranet - no dice. I know this is simple, so there must be someone who can explain it to me, as if I was a child :D
My guess is that IIS does not know about your 1580 port.
Go into IIS manager, into the new extended web site, and check that the 1580 port has been mapped to it. Check that the SSL port has been mapped too. And don't forget to add the certificate.