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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. Changing a deployed ASP .NET application URL from .aspx to .com

Changing a deployed ASP .NET application URL from .aspx to .com

Scheduled Pinned Locked Moved Web Development
questioncsharpcomwindows-admintutorial
11 Posts 3 Posters 33 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.
  • S Offline
    S Offline
    Stephen Holdorf
    wrote on last edited by
    #1

    I am deploying an ASP .NET application to a website hosted on IIS. My requirement here is that the URL must end in .com and not .aspx. An example would be http://example.com and not http://example/default.aspx. How do I deploy an ASP .NET application so it uses the .com URL and not the not the .aspx page extension?

    Z R 2 Replies Last reply
    0
    • S Stephen Holdorf

      I am deploying an ASP .NET application to a website hosted on IIS. My requirement here is that the URL must end in .com and not .aspx. An example would be http://example.com and not http://example/default.aspx. How do I deploy an ASP .NET application so it uses the .com URL and not the not the .aspx page extension?

      Z Offline
      Z Offline
      ZurdoDev
      wrote on last edited by
      #2

      I'm not sure I understand you correctly because you wrote "http://example/default.aspx" but I think what you meant was http://example.com/default.aspx." You can't get rid of the .com unless you are using intranet sites. I think you may be referring to url routing but not really sure what you are asking.

      Social Media - A platform that makes it easier for the crazies to find each other. Everyone is born right handed. Only the strongest overcome it. Fight for left-handed rights and hand equality.

      S 1 Reply Last reply
      0
      • Z ZurdoDev

        I'm not sure I understand you correctly because you wrote "http://example/default.aspx" but I think what you meant was http://example.com/default.aspx." You can't get rid of the .com unless you are using intranet sites. I think you may be referring to url routing but not really sure what you are asking.

        Social Media - A platform that makes it easier for the crazies to find each other. Everyone is born right handed. Only the strongest overcome it. Fight for left-handed rights and hand equality.

        S Offline
        S Offline
        Stephen Holdorf
        wrote on last edited by
        #3

        I think you are correct. What I need is http://example.com/default.aspx

        Z 1 Reply Last reply
        0
        • S Stephen Holdorf

          I think you are correct. What I need is http://example.com/default.aspx

          Z Offline
          Z Offline
          ZurdoDev
          wrote on last edited by
          #4

          holdorf wrote:

          http://example.com/default.aspx

          Then you register a domain and then upload your files to your hoster. That's it.

          Social Media - A platform that makes it easier for the crazies to find each other. Everyone is born right handed. Only the strongest overcome it. Fight for left-handed rights and hand equality.

          S 1 Reply Last reply
          0
          • Z ZurdoDev

            holdorf wrote:

            http://example.com/default.aspx

            Then you register a domain and then upload your files to your hoster. That's it.

            Social Media - A platform that makes it easier for the crazies to find each other. Everyone is born right handed. Only the strongest overcome it. Fight for left-handed rights and hand equality.

            S Offline
            S Offline
            Stephen Holdorf
            wrote on last edited by
            #5

            My problem is that this application is being hosted on an intranet. Normal online domain servers can't be used. I guess the question now is can you register a domain name on an intranet network? Do you need something like a Windows DNS server?

            Z 1 Reply Last reply
            0
            • S Stephen Holdorf

              My problem is that this application is being hosted on an intranet. Normal online domain servers can't be used. I guess the question now is can you register a domain name on an intranet network? Do you need something like a Windows DNS server?

              Z Offline
              Z Offline
              ZurdoDev
              wrote on last edited by
              #6

              No, I don't think that would work. But why would you want to? If it's working on the intranet and that's where you need it, leave it alone. Why does the url matter? It sounds like somebody does not understand things very well. An explanation might help.

              Social Media - A platform that makes it easier for the crazies to find each other. Everyone is born right handed. Only the strongest overcome it. Fight for left-handed rights and hand equality.

              S 1 Reply Last reply
              0
              • Z ZurdoDev

                No, I don't think that would work. But why would you want to? If it's working on the intranet and that's where you need it, leave it alone. Why does the url matter? It sounds like somebody does not understand things very well. An explanation might help.

                Social Media - A platform that makes it easier for the crazies to find each other. Everyone is born right handed. Only the strongest overcome it. Fight for left-handed rights and hand equality.

                S Offline
                S Offline
                Stephen Holdorf
                wrote on last edited by
                #7

                I guess I need to explain it better. All I need to do is host the application on the intranet in IIS so browsing to the site is not in the format http://28.4.7.1/default.aspx or http://hostmachinename/default.aspx but in the fully quilified name of the domain name of the network. (ie. http://intranet.mil/default.aspx). Does this make sense?

                Z 1 Reply Last reply
                0
                • S Stephen Holdorf

                  I guess I need to explain it better. All I need to do is host the application on the intranet in IIS so browsing to the site is not in the format http://28.4.7.1/default.aspx or http://hostmachinename/default.aspx but in the fully quilified name of the domain name of the network. (ie. http://intranet.mil/default.aspx). Does this make sense?

                  Z Offline
                  Z Offline
                  ZurdoDev
                  wrote on last edited by
                  #8

                  holdorf wrote:

                  Does this make sense?

                  Sort of. So, you need to get with the networking people and add a dns entry on the domain for whatever domain you want to have so that all computers on the intranet can get to it.

                  Social Media - A platform that makes it easier for the crazies to find each other. Everyone is born right handed. Only the strongest overcome it. Fight for left-handed rights and hand equality.

                  S 1 Reply Last reply
                  0
                  • Z ZurdoDev

                    holdorf wrote:

                    Does this make sense?

                    Sort of. So, you need to get with the networking people and add a dns entry on the domain for whatever domain you want to have so that all computers on the intranet can get to it.

                    Social Media - A platform that makes it easier for the crazies to find each other. Everyone is born right handed. Only the strongest overcome it. Fight for left-handed rights and hand equality.

                    S Offline
                    S Offline
                    Stephen Holdorf
                    wrote on last edited by
                    #9

                    I am the only technical person on this project so I am the network folks. Is this your answered to my question. I'm I correct: I need to add a DNS server on my network and register that IP address with the DNS server. Is this what I want to do?

                    Z 1 Reply Last reply
                    0
                    • S Stephen Holdorf

                      I am the only technical person on this project so I am the network folks. Is this your answered to my question. I'm I correct: I need to add a DNS server on my network and register that IP address with the DNS server. Is this what I want to do?

                      Z Offline
                      Z Offline
                      ZurdoDev
                      wrote on last edited by
                      #10

                      Yes. DNS is a way of making a word translate into an IP essentially. But I have not touched DNS in many years so I couldn't walk you through it.

                      Social Media - A platform that makes it easier for the crazies to find each other. Everyone is born right handed. Only the strongest overcome it. Fight for left-handed rights and hand equality.

                      1 Reply Last reply
                      0
                      • S Stephen Holdorf

                        I am deploying an ASP .NET application to a website hosted on IIS. My requirement here is that the URL must end in .com and not .aspx. An example would be http://example.com and not http://example/default.aspx. How do I deploy an ASP .NET application so it uses the .com URL and not the not the .aspx page extension?

                        R Offline
                        R Offline
                        rourou17
                        wrote on last edited by
                        #11

                        meilleur gynecologue a tunis fiv prix tunisie insémination artificielle tunisie prix biopsie testiculaire en tunisie fécondation in vitro Tunisie prix chirurgie mammaire tunisie lipofilling mammaire tunisie prix Lifting seins Tunisie  reduction mammaire prix tunisie adipomastie prix facettes dentaires tunisie combien coute un lifting chirurgie esthétique visage prix chirurgie ride du lion Lifting temporal prix liposuccion tunisie lifting bras tunisie prix abdominoplastie Tunisie lifting des cuisses en tunisie implant fessier prix tunisie Chirurgie Esthetique Tunisie prix

                        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