Jump to content

Hosting A Website in IIS and Removing Port Number From Domain


Recommended Posts



Save this config in dll folder. file name be "web.config"

<?xml version="1.0" encoding="UTF-8"?>
                <add value="your_app_name.dll" />

So you have not add port number & dll name to url link. And If you need still use with port number, add port number in binding too. So you can use default port 80 and your definition port too.



Link to comment
Share on other sites

And if you want to redirect https://yourdomain.com/app to internal uniGUI App in IIS you have to install modules:

  • requestRouter_XXX.msi
  • rewrite_XXX.msi

Create https binding with letsencrypt and providing a web.config with these settings:

<?xml version="1.0" encoding="UTF-8"?>
                <rule name="Redirect to UniGUI app" patternSyntax="Wildcard" stopProcessing="true">
                    <match url="*" />
                    <action type="Rewrite" url="http://localhost:8077/{R:1}" />
                        <set name="HTTP_X_FORWARDED_HOST" value="{HTTP_HOST}" />
                        <set name="HTTP_X_FORWARDED_SCHEMA" value="https" />
                        <set name="HTTP_X_FORWARDED_PROTO" value="https" />


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...