Avatar of karthik80c
karthik80cFlag for United States of America

asked on 

How to Deploy Website in Own Server

Hi am trying to deploy my site in My Own Sever .Please provide step by step method if possible
ASP.NETASPMicrosoft IIS Web Server

Avatar of undefined
Last Comment
karthik80c
Avatar of Lokesh B R
Lokesh B R
Flag of India image

Hi,

1. Make sure the preferred .NET Framework in installed.
2. Create a Virtual Directory in the server names as your website. (Ex. MyApp)
3. Publish the website from the visual studio to the server folder.

or publish the files to the local folder and copy all the files to the server.
Avatar of karthik80c
karthik80c
Flag of United States of America image

ASKER

Hi Lokesh

i Have completed the step one and i copied the folder to server inetpub\wwwroot folder so what to do next and how can i publish my site
Avatar of Lokesh B R
Lokesh B R
Flag of India image

Hi,

Open the IIS/ create a folder under
inetpub\wwwroot  and add all the published files to that folder.
Hi,

Use the below steps to create the website:

Open IIS >> Right click sites >> add website >> give name to your website >> assign the IP and keep the port as 80 >> give the host name ( your website name) >> give the path inetpub\wwwroot ( where you have kept your content )

After adding add one more binding with www.domain name with the same IP and port 80

if needed give the permissions of IIS_users to your website.

Thanks
Chanderpal
Avatar of karthik80c
karthik80c
Flag of United States of America image

ASKER

Hi chanderpal singh rathore,

i have followed your steps and in iis and it showing my website as sfcUser generated image but when i click to browse its popup a login window and i give my credentials  over there but it asking again and again . so is my step is correct ?
Hi,

Double click on authentication option in IIS and disable the windows authentication and let me know if your still face the same issue.


Thanks
Chanderpal
Avatar of karthik80c
karthik80c
Flag of United States of America image

ASKER

Hi chanderpal singh rathore,

my windows authentication is disabled already and facing same issue

User generated image
Hi,

Edit anonymous auth and assign the application pool identity and also assign application pool identity to the application pool assigned to this website.

Thanks
Chanderpal
Avatar of karthik80c
karthik80c
Flag of United States of America image

ASKER

Hi i have edited the anonymous auth to application pool identity  and my site is in default application pool

User generated image
You can create new application pool and right click go to advance setting >> give that application pool application pool identity >> assign this application pool to your this website.


thanks
ASKER CERTIFIED SOLUTION
Avatar of karthik80c
karthik80c
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Good to hear that your website is working!!!!

But if your website is working locally then it should work globally on port 80 also as changing the port doesn't make any effect on website configuration .
Avatar of karthik80c
karthik80c
Flag of United States of America image

ASKER

Well Thank you chanderpal singh rathore
No problem karthik, see you later
Avatar of karthik80c
karthik80c
Flag of United States of America image

ASKER

Its a binding issue causes the error and we cleared so please share this to newbies to understand of it
ASP.NET
ASP.NET

The successor to Active Server Pages, ASP.NET websites utilize the .NET framework to produce dynamic, data and content-driven web applications and services. ASP.NET code can be written using any .NET supported language. As of 2009, ASP.NET can also apply the Model-View-Controller (MVC) pattern to web applications

128K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo