C
C#3mo ago
kaido

publushing .net project to iis

hi there..does anyone here knows how to publish .net project to iis to be use outside the server using the url domain
10 Replies
this_is_pain
this_is_pain3mo ago
by "outside the server" you mean "on another computer"?
kurumi
kurumi3mo ago
1) Create application pool 2) Go sites and add a site 2.1) Site name is a name of ur site 2.2) Physical path is a folder you need to map your project 2.3) Use http schema first (after you gonna add https if you have cert) 2.4) Host name is a URL you want to use for your project 3) To add https support go to "Edit bindings" and select https as type with port 443. Fill the host name and check Require Server Name Indication. Select your SSL cert which you added to SSL management
kaido
kaidoOP3mo ago
yup..meaning far from server without using vpn i have done all this..but it show internal server error 500 do u know why please help me
kurumi
kurumi3mo ago
Check your application logs
kaido
kaidoOP3mo ago
wait ya
kaido
kaidoOP3mo ago
this one
No description
kaido
kaidoOP3mo ago
do u know why
kaido
kaidoOP3mo ago
No description
kaido
kaidoOP3mo ago
hi..do u have any suggestion regarding on this
kurumi
kurumi3mo ago
It says you have SqlClient exception which may thrown due to miss configured smth.
A network-related or instance-specific error occurred while establishing a connection to SQL Server ...
You should fix it

Did you find this page helpful?