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. ASP.NET
  4. how to use subdomain

how to use subdomain

Scheduled Pinned Locked Moved ASP.NET
csharpasp-nethelptutorial
11 Posts 3 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.
  • A Offline
    A Offline
    Amit Agarrwal
    wrote on last edited by
    #1

    Hello I'm making a project in ASP.Net 1.1. Basically its Site Creator Project on which i' working. My CLient hav uploaded the 20 subdoamin for me. but i don't how to use these subdoamin either i have to upload my whole project on these 20 subdoamins. or is there any way which i can set the path to my mail domain directly. i hope i'm able to let u understand my problem.if any thing unclear plz let me know. thanx

    G 1 Reply Last reply
    0
    • A Amit Agarrwal

      Hello I'm making a project in ASP.Net 1.1. Basically its Site Creator Project on which i' working. My CLient hav uploaded the 20 subdoamin for me. but i don't how to use these subdoamin either i have to upload my whole project on these 20 subdoamins. or is there any way which i can set the path to my mail domain directly. i hope i'm able to let u understand my problem.if any thing unclear plz let me know. thanx

      G Offline
      G Offline
      Guffa
      wrote on last edited by
      #2

      Yes, there are some things that are unclear. When you say that your client have uploaded subdomains, what do you mean? Has he created subdomain names or subdomain sites, or is it something Site Creator specific? How does your mail domain come into the picture? Is your application sending mail? --- b { font-weight: normal; }

      A 1 Reply Last reply
      0
      • G Guffa

        Yes, there are some things that are unclear. When you say that your client have uploaded subdomains, what do you mean? Has he created subdomain names or subdomain sites, or is it something Site Creator specific? How does your mail domain come into the picture? Is your application sending mail? --- b { font-weight: normal; }

        A Offline
        A Offline
        Amit Agarrwal
        wrote on last edited by
        #3

        hi.. actaully he created some subdomains Folder just like a main one in which we upload our project..so, when i try to run my project from these subdomains URL it does not work so i wanted to ask that whether i have to put my whole project in all the subdomain folders individually or is there any way by which these subdomain can directly be link with the main domain folder.so these links will work automatically i think now it is something clear.. or yet u didn't got my problem plz tell me the basic concept of subdomain and how can we use these subdomains. thanx

        G 1 Reply Last reply
        0
        • A Amit Agarrwal

          hi.. actaully he created some subdomains Folder just like a main one in which we upload our project..so, when i try to run my project from these subdomains URL it does not work so i wanted to ask that whether i have to put my whole project in all the subdomain folders individually or is there any way by which these subdomain can directly be link with the main domain folder.so these links will work automatically i think now it is something clear.. or yet u didn't got my problem plz tell me the basic concept of subdomain and how can we use these subdomains. thanx

          G Offline
          G Offline
          Guffa
          wrote on last edited by
          #4

          Standard question #1: What do you mean by "not working"? Standard question #2: What error message do you get? A subdomain is a name that is completely independent from the domain name. The two names doesn't even have to point to the same server. The most common subdomain is www. Usually the www subdomain is handled by the same web application as the domain, e.g. www.guffa.com and guffa.com point to the same site. If the subdomains are set up to point to separate folders on the server, the folders are separate applications, and you need to upload everything to each folder. If all the subdomains should use identical code, they could instead have been set up to be handled by the same application. Then you would only have one folder to upload to. --- b { font-weight: normal; }

          A 1 Reply Last reply
          0
          • G Guffa

            Standard question #1: What do you mean by "not working"? Standard question #2: What error message do you get? A subdomain is a name that is completely independent from the domain name. The two names doesn't even have to point to the same server. The most common subdomain is www. Usually the www subdomain is handled by the same web application as the domain, e.g. www.guffa.com and guffa.com point to the same site. If the subdomains are set up to point to separate folders on the server, the folders are separate applications, and you need to upload everything to each folder. If all the subdomains should use identical code, they could instead have been set up to be handled by the same application. Then you would only have one folder to upload to. --- b { font-weight: normal; }

            A Offline
            A Offline
            Amit Agarrwal
            wrote on last edited by
            #5

            hello sir, "If all the subdomains should use identical code, they could instead have been set up to be handled by the same application. Then you would only have one folder to upload to. " this is exactly what i want to do...but how to do it. if i will upload myproject into only single folder then how these subdomain will link to the uploaded project. thanx

            S G 2 Replies Last reply
            0
            • A Amit Agarrwal

              hello sir, "If all the subdomains should use identical code, they could instead have been set up to be handled by the same application. Then you would only have one folder to upload to. " this is exactly what i want to do...but how to do it. if i will upload myproject into only single folder then how these subdomain will link to the uploaded project. thanx

              S Offline
              S Offline
              sudharsong
              wrote on last edited by
              #6

              hi try to keep all the new file with existing folder.and refresh ur site folder IIS virtual direcory.and give the directory name like folder\sub folder like that. with regards, susa

              A 1 Reply Last reply
              0
              • S sudharsong

                hi try to keep all the new file with existing folder.and refresh ur site folder IIS virtual direcory.and give the directory name like folder\sub folder like that. with regards, susa

                A Offline
                A Offline
                Amit Agarrwal
                wrote on last edited by
                #7

                sorry i didn't get ur point.. these subdomains are individual folder on server..my site folder is seperate domain and all my project is reside on this folder now how my subdoamin folder will be link to main domain folder with out copying all the project on subdomain folder. thanx

                1 Reply Last reply
                0
                • A Amit Agarrwal

                  hello sir, "If all the subdomains should use identical code, they could instead have been set up to be handled by the same application. Then you would only have one folder to upload to. " this is exactly what i want to do...but how to do it. if i will upload myproject into only single folder then how these subdomain will link to the uploaded project. thanx

                  G Offline
                  G Offline
                  Guffa
                  wrote on last edited by
                  #8

                  In IIS console, open the properties for the web site that you want to handle the names. In the "Web Site Identification" section there is an "Advanced" button, that will open a window where you can add identities for the site. The "Host Header Name" is where you put the subdomain names. --- b { font-weight: normal; }

                  A 1 Reply Last reply
                  0
                  • G Guffa

                    In IIS console, open the properties for the web site that you want to handle the names. In the "Web Site Identification" section there is an "Advanced" button, that will open a window where you can add identities for the site. The "Host Header Name" is where you put the subdomain names. --- b { font-weight: normal; }

                    A Offline
                    A Offline
                    Amit Agarrwal
                    wrote on last edited by
                    #9

                    hello i follow ur steps.. but i didn't get the "Web Site Identification" tab in my Application Properties Window There are only following tab 1.Directory 2.Document 3.Directory Security 4.HTTP Headers 5.Custom Errors there is no "Web Site Identification Tab" or Option in Project Properties. Plz tell me exactly from where i can get this Option. I also ref. this site too. http://support.microsoft.com/default.aspx?scid=kb;en-us;308163[^] thanx

                    G 1 Reply Last reply
                    0
                    • A Amit Agarrwal

                      hello i follow ur steps.. but i didn't get the "Web Site Identification" tab in my Application Properties Window There are only following tab 1.Directory 2.Document 3.Directory Security 4.HTTP Headers 5.Custom Errors there is no "Web Site Identification Tab" or Option in Project Properties. Plz tell me exactly from where i can get this Option. I also ref. this site too. http://support.microsoft.com/default.aspx?scid=kb;en-us;308163[^] thanx

                      G Offline
                      G Offline
                      Guffa
                      wrote on last edited by
                      #10

                      The "Web Site Identification" is not a separate tab, it's on the "Web Site" tab. The first tab when you open the properties of a web site. The tabs that you listed is not from the properties of a web site, it's from the properties of a folder. Are you really sure that you have subdomains? There is no subdomain pointing to that folder, as you can't point a subdomain to a regular folder. --- b { font-weight: normal; }

                      A 1 Reply Last reply
                      0
                      • G Guffa

                        The "Web Site Identification" is not a separate tab, it's on the "Web Site" tab. The first tab when you open the properties of a web site. The tabs that you listed is not from the properties of a web site, it's from the properties of a folder. Are you really sure that you have subdomains? There is no subdomain pointing to that folder, as you can't point a subdomain to a regular folder. --- b { font-weight: normal; }

                        A Offline
                        A Offline
                        Amit Agarrwal
                        wrote on last edited by
                        #11

                        hello sir, i have only the Application Folder in my IIS maanger i hav checked twice & thrice my IIS Manager but i didn't find any Web Site Tab. even though i'm not getting for which "WEB SITE" u r talking abt becoz i hav only my application in Default Web Site tab. here i'm just checking the My Application Properties. plz clear my doubts. thanx

                        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