I am using local IIS instead of the VS Web Server but instead of a virtual directory on the Default Web Site, I want to configure my web application project to run in its own IIS Web Site on port 8080. How can I do this?
Setup a website on IIS, using port 8080.
Point the home directory of this site to the web application project directory.
To debug on IIS, attach to the worker process (w3wp.exe).
Take a look into your Web Application project properties. Under the tab "Web" you can select "Use Local IIS Web server" and create from this point a virtual directory for your app. The only part you have to configure on the iis side is the port number for your website.
Related
I have hosted Flask Web application on Windows Server on AWS, I have done followings
hosted it on IIS and add new bindings(port 8090) to web site
Created inbound rule for the port(8090) given in bindings
And it works fine on the server, but when i'm trying to access it on my PC's web browser says
it cannot reach took too long to respond
What else i need to do ?
In your vm, different provider has their security policy. For aws even you have set inbound port rule, it will not work. You also need to set inbound rules in their potal.
π(1) Open Windows firewall, Create an Inbound Port Rule.
π(2) Directly in Amazon Web Service console, exactly in security groups/inbound.
I have installed a web site on one of my servers within our active directory domain. How do I create an actual URL such as http://TheWebApp instead of having users navigate to http://192.168.0.xxx/TheWebApp?
Thanks,
Chris
You can add 192.168.0.xx and WebApp to hosts file in local machine. Then set the application as an independent site on server and bind to localhost:80. When you enter the http://WebApp in local machine, it will forwards to http://192.168.0.xx and points to the site on server.
Or you can buy a public domain and bind it to your server, then bind site to domain.
I created a console application (Asp.Net core Kestrel) which host a web site and copied it to a Windows Server. Browsing http://hostname:5000/ locally on the server works. However, it got This site canβt be reachedu _hostname_ refused to connect. when browsing the site on another machine.
I already created an inbound firewall rule.
I tried create a website in IIS on the server with port 5009. And the website can be remotely accessed.
I have a couple of configuration questions:
How do I configure the local web site to use IIS. I need to run the web site using IIS server not default visual studio web development server.
How do I give the solution name for website.
For example, normally when you create a web site it will display the website name as:
http://localhost/testproject or d://....../testproject
But I need to display the web site project name as testproject alone
Modify your hosts file to point at your ip address with a dns name for the second bit. Then set up your dns name in a website in iis. When you browse to the dns you will hit your website iis will strip the dns name for it and forward your request to the correct site.
For the first bit its too long winded you will have to read a tutorial..
Is there any special steps to host the dotnetnuke application and database on ftp server, if any then provide the steps to be follow to host dotnetnuke application..
You cannot host DNN on an FTP server.
You require an IIS Server and you must have access to configure that server to properly run the DNN application.