Hosting application on Windows Server running IIS and want to redirect website to application using a port


I am running [Uptime Kuma](https://github.com/louislam/uptime-kuma) on our server and it’s using a port 1234 for instance. I can access the application by going to [https://myserver.com:1234](https://myserver.com:1234) but the certificate is invalid.

We are running Windows 2022 with IIS 10 on a dedicated cloud server. For SSL certificates I’m using Lets Encrypt.

Two questions:

1. Can I setup IIS/Uptime to bind to my url [myserver.com](https://myserver.com) without the port?
2. If I can do the above, can it use the certificate for my website? I’m getting an invalid certificate if I have to append the port at the end.

I tried binding the port in IIS but the website will not start since the port is already in use by Uptime Kuma.

[IIS Binding](https://drive.google.com/file/d/1lOoq5AoxwMEsTp2NmKqxsdT3_4GCeGNa/view?usp=drivesdk)

I wasn’t sure how to search for this so any information or links would be greatly appreciated!



View Reddit by -TechGuy-View Source

our recommended web hosting companies

NameCheap

website link: namecheap.pxf.io/Alaaeldin.medium

Hostinger

website link: https://hostinger.sjv.io/Jr95Qr

InMotion hosting

website link: partners.inmotionhosting.com/XxJ0Jg

Hubspot

website link: hubspot.sjv.io/DV2O35

Leave a Comment

Your email address will not be published. Required fields are marked *