Click here to Skip to main content
11,639,861 members (67,556 online)
Rate this: bad
good
Please Sign up or sign in to vote.
Hi,

I want to create a webproject in asp.net with C#.net in my local system. I would like to create a site with a specified name in my local system. I want to give a site name for the address "localhost:port/page". How can i do this?.

Thanks
Velkumar
Posted 19-Sep-12 1:08am
Comments
Wes Aday at 19-Sep-12 7:12am
   
Start Visual Studio then create new Project.
Velkumar Kannan at 19-Sep-12 8:31am
   
i know this
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

  Permalink  
v2
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

Always try the most obvious place[^] first.
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

To Provide a sitename you should host your site via a static Ip and register a domain and resolute the ip address to your domain name..
Or if you want to give a name for your local running solution,
change the hosts file in system C:\Windows\System32\drivers\etc
provide a name for the locally hosted file with the port number and without portnumber combination
that'll provide you with an name in the address bar of the browser when you launch the site locally.
To Create a websoultion in asp.net goto file ->new project-> select the web option in the left side pane and choose the language, the project will be open it's interface for development
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Suvendu Shekhar Giri 270
1 CPallini 177
2 F-ES Sitecore 170
3 jyo.net 142
4 himanshu agarwal 142
0 OriginalGriff 9,081
1 Sergey Alexandrovich Kryukov 8,847
2 Mika Wendelius 7,027
3 Suvendu Shekhar Giri 2,650
4 F-ES Sitecore 2,558


Advertise | Privacy | Mobile
Web03 | 2.8.150731.1 | Last Updated 28 May 2014
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100