Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. open url page on iis write only http://home

open url page on iis write only http://home

Scheduled Pinned Locked Moved ASP.NET
windows-admin
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Rinki Mukheraji
    wrote on last edited by
    #1

    i have a web site there are lot of pages. one page name home.aspx when i run the site in localhost. write in : http://localhost/home.aspx i want to write http://home then open my home page how it is possible.

    L 1 Reply Last reply
    0
    • R Rinki Mukheraji

      i have a web site there are lot of pages. one page name home.aspx when i run the site in localhost. write in : http://localhost/home.aspx i want to write http://home then open my home page how it is possible.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      It shouldn't be possible. In order to display a webpage within a browser, it will have to know two things: 1) What page do you want 2) Where is that page "Home.aspx" is the name of the page. "Localhost" is the place where that page resides. "Localhost" is the domainname for your local computer. You could change that in the hosts-file, to get something like "http://mycomputer/home.aspx". You could also set the default page to "home.aspx", that's a setting in IIS. That would give you an address like "http://mycomputer/".

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups