How do I make a folder a .net web application folder?

Discussion in 'General troubleshooting' started by dpcolgan, Mar 15, 2010.

  1. dpcolgan

    dpcolgan .net Programmer

    I've gotten my files uploaded for two different domains and have the domains in the domains list... how do I set up the folders as app folders?
     
  2. Ray

    Ray

    Last edited by a moderator: Oct 14, 2015
  3. dpcolgan

    dpcolgan .net Programmer

    OK. I get it but here's what I don't like (or understand). I really don't get unlimited domain names (really)..I get unlimited number of domain pointers. Because if I truly got unlimited domain names then when someone typed "www.townmvideo.com" it wouldn't change the web address to be www.dcolgan.com/townmvideo

    Or am I missing something that hides this
     
    Last edited by a moderator: Oct 14, 2015
  4. curtis

    curtis Winhost Staff

    The domain pointer name doesn't change.
     
  5. dpcolgan

    dpcolgan .net Programmer

    True, however the person going to my website doesn't see the domain pointer... but they do see that the web address has changed and it no longer says "townmvideo.com" it says "www.dcolgan.com/townmvideo/default.aspx"... I think your promotional material should be changed to reflect that so a person doesn't think they are getting something but in reality they are not.:mad:

    With a subdomain... its expected... with a true domain that shouldn't be the case at all.
     
  6. curtis

    curtis Winhost Staff

    Last edited by a moderator: Oct 14, 2015
  7. dpcolgan

    dpcolgan .net Programmer

    It was my experience that when I had the account set up as main domain: www.dcolgan.com and then had a domain pointer for www.townmvideo.com... I had created a folder for townm under the root and set up the domain pointer for www.townmvideo.com to point to it. When I entered www.townmvideo.com...the address bar changed to www.dcolgan.com/townm/default.aspx instead of www.townmvideo.com...

    This is what I'm trying to understand. Maybe I'm not doing it right but I've read the support article and entered the code exactly as directed. What did I miss from what you are explaining?
     
    Last edited by a moderator: Oct 14, 2015
  8. Ray

    Ray

    Actually that is correct. Bacause the path to the web page is inside a folder called townm then it will show this in the URL townm/default.aspx.

    You can mask this URL by peforming a URL rewrite, but of course this will require some more coding.

    You may want to try using IIS 7 URL Rewrite module to help you rewrite your URL's.

    http://ruslany.net/2009/04/10-url-rewriting-tips-and-tricks/
     

Share This Page