Your HostICan Community  


Go Back   Your HostICan Community > HostICan Web Hosting > Shared Hosting

Shared Hosting Do you have questions about HostICan's Base-Host or Tera-Host shared plans? Please ask them here!

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12-27-2008, 12:30 AM
Gil Josef Gil Josef is offline
Junior Member
 
Join Date: Dec 2008
Posts: 5
Default URL link with subdomain

Hello, I'm using in my website subdomain links like, http://giljo.mywebsite.com, how do i modify my host service to be able to read URL that contain link with sub domain?
Reply With Quote
  #2  
Old 12-27-2008, 01:46 AM
lnxcode's Avatar
lnxcode lnxcode is offline
The British Kid
 
Join Date: Sep 2007
Location: Richmond, VA
Posts: 2,003
Send a message via AIM to lnxcode Send a message via Skype™ to lnxcode
Default Re: URL link with subdomain

Welcome to the HostICan Community Forum!

Im not sure I quire understand. Are you talking about programming links such as "
When you make a subdomain, you don't need to modify anything, it just starts working without any issues.
Reply With Quote
  #3  
Old 12-27-2008, 02:21 AM
Gil Josef Gil Josef is offline
Junior Member
 
Join Date: Dec 2008
Posts: 5
Default Re: URL link with subdomain

yes, i'm talking about programing links, not subdomains on servers just a url link that know how to separate the url that a persone wrote and transfer him to the directory that he suuposed to go, like http://example.mysite.com will go to http://www.mysite.com/example/index.html
Reply With Quote
  #4  
Old 12-27-2008, 03:26 AM
Shazam's Avatar
Shazam Shazam is offline
Forum Whip-Cracker
 
Join Date: Sep 2007
Location: Scottsdale, AZ
Posts: 1,020
Default Re: URL link with subdomain

Quote:
Originally Posted by Gil Josef View Post
yes, i'm talking about programing links, not subdomains on servers just a url link that know how to separate the url that a persone wrote and transfer him to the directory that he suuposed to go, like http://example.mysite.com will go to http://www.mysite.com/example/index.html
You mean a redirect then?
__________________
Best,
Shazam
HostICan Community Superhero
Reply With Quote
  #5  
Old 12-27-2008, 03:55 AM
Gil Josef Gil Josef is offline
Junior Member
 
Join Date: Dec 2008
Posts: 5
Default Re: URL link with subdomain

something like that
Reply With Quote
  #6  
Old 12-27-2008, 09:29 AM
lnxcode's Avatar
lnxcode lnxcode is offline
The British Kid
 
Join Date: Sep 2007
Location: Richmond, VA
Posts: 2,003
Send a message via AIM to lnxcode Send a message via Skype™ to lnxcode
Default Re: URL link with subdomain

Quote:
Originally Posted by Shazam View Post
You mean a redirect then?
Ah.... redirects our fav 301

Quote:
Originally Posted by Gil Josef View Post
something like that
Why not just setup a rewrite rule or a perm redirect via the .htaccess file?
__________________
Thanks,

Denis Motova
Affiliate / Operations Manager

HostICan Answers | Become a HostICan Affiliate | Create a Support Ticket.
Reply With Quote
  #7  
Old 12-27-2008, 09:37 AM
Gil Josef Gil Josef is offline
Junior Member
 
Join Date: Dec 2008
Posts: 5
Default Re: URL link with subdomain

i don't understand, what is .htaccess file?
Reply With Quote
  #8  
Old 12-27-2008, 11:18 AM
Shazam's Avatar
Shazam Shazam is offline
Forum Whip-Cracker
 
Join Date: Sep 2007
Location: Scottsdale, AZ
Posts: 1,020
Default Re: URL link with subdomain

Quote:
Originally Posted by Gil Josef View Post
i don't understand, what is .htaccess file?
That is a set of instructions contained in a text file at the main level of your domain on the site. It instructs Apache as to how to handle certain requests.

Here, for example, is a typical .htaccess file for a popular radio show site:

Code:
 
order allow,deny
deny from all 


RewriteEngine on
RewriteCond %{http_host} ^theparacast\.com [nc]
RewriteRule ^(.*)$ http://www.theparacast.com/$1 [R=permanent,nc,L]

Redirect /forums/ http://forum.theparacast.com/

Redirect /forum/ http://forum.theparacast.com/

Redirect /smf/ http://forum.theparacast.com/

Redirect /list/mail.cgi/ http://www.theparacast.com/cgi-bin/list/mail.cgi/
The ReWrite command in this case automatically takes requests for theparacast.com and redirects them to the "www" alternative. That assists in search engine ranking, since everything is being processed via a single URL.

The intent of the other four are pretty obvious. They simply take one request and move it to another.
__________________
Best,
Shazam
HostICan Community Superhero
Reply With Quote
Reply

Tags
link, subdomain, url

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 04:09 PM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.

Copyright © 2003 - 2008 HostICan. All Rights Reserved.