Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can fix my subdomain site?

Status
Not open for further replies.

TimCritchfield

Technical User
Aug 27, 2001
19
US
Not exactly sure what you mean by sub-domain. If you are referring to host-headers, then the answer is quite simple.

First off...
host headers:
is the domain name.
is the host header for a second web site attached to the abc.com domain name.

There are three ways to seperate web sites on your server. One is by having a different IP address. Another is by having different port numbers. And the third is by assigning different host headers.

You have create the web site: and hold it in your c:\inetpub\ folder. In the host headers in your IIS, have the host header read " then create another one for the same site called "abc.com". This way, anyone can type OR abc.com to reach your site.

Create anther site under the c:\inetpub\mySite\ folder and have it assigned to the same port (80) and IP address, but have the host headers for the site read, "mySite.abc.com". Continue this for all the sites you want to create under the same domain. Now when someone types they will go to the site in c:\inetpub\ but if they type they will go to the site under c:\inetpub\mySite\!

Hope this helps.
-Ovatvvon :-Q
 
Sub-Domain means its not an actual real domain like .com , .net , .org. Sub-Domains is free like or fake example I want to have it like websites that has like I want like that /main on my subdomain URL instead of it opening up the sub-domani URL then when you click on it, it opens up a whole new differen't url thats part of my page. You'll notice that when you click on my page links under main. URL will change from theancients.educations.net to like and I want use theancients.educations.net instead of tripod.
 
The links under main are links directly to That is a simple link like: <a href='
The part when you listed all &quot;main&quot; is, is a folder under the domain name. So if your domain name web site is pointed to use the folder c:\inetpub\ then your main folder would be c:\inetpub\ Therefore, your link (or the user can type in the url) would be
Now if you are simply trying to hide your tripod url and make it look like they are still on the &quot;theancients.educations.net&quot; site...simply use frames. Have the link targeted in the right frame, and have the tripod site open in the right frame. Then, your main window which contains the frames will still be at the &quot;theancients&quot; site and show that url in the url bar, but you are displaying the tripod site as though it were part of that site.

Hope this is what you were looking for. If not, explain a little better please.

-Ovatvvon :-Q
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top