It is currently Thu Aug 13, 2020 6:34 am

All times are UTC

Forum rules

Please click here to view the forum rules

Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Making domain name default way to access my site.
PostPosted: Sun Aug 19, 2007 6:14 pm 

Joined: Wed Aug 08, 2007 9:51 pm
Posts: 2
I added another subdomain to my site to see if I point it to the current subdomain I'm using, I will be able to access my site with only the new subdomain. But when i click on something, it defaults to the old subdomain. How should I make the new subdomain default. Will the same rules apply to a domain?


 Post subject: subdomain as main site
PostPosted: Fri Nov 16, 2007 6:04 am 

Joined: Fri Nov 16, 2007 5:59 am
Posts: 1
My assumption here is that you are trying to set up a subdomain so that you can use that as your default site instead of www.

For example instead of going to you want to go to and have that be your whole site.

When you say you 'click on something' that leads me to believe that you have coded your domain into your links. For example on a page you probably have code like:

<a href=''>link</a>

If you look in your code and this is the case, you can get the behavior you want by using relative links and coding the above like this instead:

<a href='/page2.html'>link</a>

 Post subject:
PostPosted: Fri Nov 16, 2007 8:53 am 

Joined: Tue Feb 27, 2007 12:18 am
Posts: 521
If you google .htaccess you can find alot of information about get things to redirect.


Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ]  Moderators: Moderators, Support Team

All times are UTC

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Hosting | Domains | Servers | Extras | Order | Support | Contacts | FreeHostia © 2011