Hello,
I am looking to host my website on IIS but I can not find any clear directions, I keep finding instructions on self hosting, but even then, those aren’t very clear to me. Can someone point me in the right direction?
Thanks
Where are you deploying? If it’s IIS you have to create an application. Just a directory doesn’t work.
https://docs.microsoft.com/en-us/iis/configuration/system.applicationhost/sites/site/application/
If it doesn’t work let us know what is the error. It’s a standard IIS deployment, like any ASP.NET app.
Kevin,
This is not working.
Inside my folder, I have the following:
\bin
\Themes
Default.html
Default.json
favicon.ico
web.config
Inside my web.config, I have the following
<?xml version=”1.0″?>
<!–
For more information on how to configure your ASP.NET application, please visit
http://go.microsoft.com/fwlink/?LinkId=169433
–>
<configuration>
<appSettings>
<add key=”Wisej.LicenseKey” value=””/>
<add key=”Wisej.DefaultTheme” value=”Blue-1″/>
</appSettings>
<system.web>
<compilation debug=”true” />
<httpRuntime targetFramework=”4.6″ maxRequestLength=”1048576″/>
<httpModules>
<add name=”Wisej” type=”Wisej.Core.HttpModule, Wisej.Framework”/>
</httpModules>
</system.web>
<system.webServer>
<validation validateIntegratedModeConfiguration=”false”/>
<modules>
<add name=”Wisej” type=”Wisej.Core.HttpModule, Wisej.Framework”/>
</modules>
<handlers>
<add name=”json” verb=”*” path=”*.json” type=”System.Web.HttpForbiddenHandler” />
<add name=”wisej” verb=”*” path=”*.wx” type=”Wisej.Core.HttpHandler, Wisej.Framework”/>
</handlers>
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength=”1073741824″/>
</requestFiltering>
</security>
<defaultDocument enabled=”true”>
<files>
<add value=”Default.html” />
</files>
</defaultDocument>
</system.webServer>
<!–<system.diagnostics>
<trace autoflush=”true” indentsize=”4″>
<listeners>
<remove name=”Default” />
<add name=”Default” type=”System.Diagnostics.TextWriterTraceListener” initializeData=”Trace.log” />
</listeners>
</trace>
</system.diagnostics>–>
</configuration>
I can navigate to the Default.html with no issues, but the page shows nothing..
Hi Kurt,
You can consult this link https://docs.wisej.com/deployment/ for more details about the deployment.
Happy coding
Kevin(ITG)
Please login first to submit.