Subdomains and redirection to subfolders

Discussion in 'ASP.NET / ASP.NET Core' started by LanceUSA, Jan 10, 2005.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. I added the subdomain add on to my site...did my searching here on how to set it up.

    But I have one question.

    I have the main part of my website that I put in a subfolder in my main directory called 'main'
    I have another directory set up for another website (images.ramotek.com) called 'images'

    I wrote a simple asp.net index.aspx page that goes in my mian directory that executes this code during the load...

     
  2. Bruce

    Bruce DiscountASP.NET Staff

  3. Thanks for the reply Bruce. I thought maybe I was doing something wrong. I noticed websites like news.google.com didn't have a subfolder extension. Then again they have this pointing to a different IP which then I assume they have a different root then thier main site.

    I'll check those references...
     
  4. Or you could run the entire site as a frameset. My mom's real estate site is set up like this, because she wanted the content from a template site, but their email server didn't do IMAP. So we host the domain at a host that does IMAP and simply frame the template site. Not ideal, but it's cheap and it works. One of these days I'll get around to fixing her up the right way... one of these days....


    Here is the entire index.html file from her site (hosted elsewhere, for now).


    <frameset rows=100>
    <frame src="http://206.173.89.38/clientsites/pamreilly%5Fcom/">
    </frameset>


    Now if someone decided to view source or open a link in a new window, they would see the true domain. But we don't really care at that point. We just don't want the initialURL to be http://206.173.89.38/clientsites/pamreilly%5Fcom/



    Mike Reilly, Secretary/Webmaster
    Kiwanis Club of Rancho Penasquitos
    "Serving the Children of the World"
    [email protected]
    www.KiwanisPQ.org
    (760) 419-7429
     
  5. I use GoDaddy and they let me use Domain Masking. That in combination with simple redirects works for me.
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page