Publish WebApplication Gin / IIS?[SOLVED]

Hi,
I’m a beginner in golang development, and my first project is a web application that I need to publish to IIS 8 - Internet Information Services / Microsoft Web Server.
With Gin I can start the application and it should listen to “any” port configured, which I need to do to effectively publish my web app. Do I really need IIS, or can I run my MAIN.EXE file and is it?
What is the best approach for publishing a web application built with GIN?
Thanks in advance!

Allexz

If you are not and will not be using IIS for anything else (and it is not a project requirement) then go is well suited to serving your app directly to the internet. My site, https://pocketgophers.com, is served directly by go. Start by reading https://blog.cloudflare.com/exposing-go-on-the-internet/.

1 Like

Thank you one more time Nathan!
Now only Golang, REST application and HTML is running on my site.
When I finish the entire application, I’ll invite to see…

Have a nice time ahead!

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.