Icy Phoenix

     
 


Post new topic  Reply to topic 
Page 1 of 1
 
 
Reply with quote Download Post 
Post Redirection Of Domain To A Subdirectory 
 
Hi, How does one redirect a domain to point to a sub directory of my site without it showing in the address bar?

I see some options in cpanel but it adds the directory at the end. as in http://www.mysite.com/SUBDIRECTORY/ I want it to show just http://www.mysite.com

Can i do it from the cpanel where my site is hosted? or do I have to configure it at the domain provider? as there it only gives the option of pointing the domain to name serves and nowhere else..  

I could do it before from GoDaddy by masking a redirect but now I don't have that option, just wondered if there as a work around.
 



 
loobossSend private message  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: Redirection Of Domain To A Subdirectory 
 
As far as I know, it's not with the CPanel you can do it but with the .htaccess
I think there are also some options with your host by using aliases but I'm almost sure that using the .htaccess way will achieve to do what you expect to but as I don't really know myself how it works I can't help you farther.
 



 
YrosSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Redirection Of Domain To A Subdirectory 
 
I don t have a way to refresh my memory at the moment because I don t have access to any cpanel but if i remember correctly..

you should be able to add a redirect where you've added the domain in cpanel (parked, sub or addon), this would save you having to find out how and what to add exactly to htaccess because this way cpanel would write/add it for you
 




____________
www.DutchaGoGo.com (development/under construction ...Forever?¿?)
 
Joshua203Send private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Redirection Of Domain To A Subdirectory 
 
Joshua203 wrote: [View Post]
I don t have a way to refresh my memory at the moment because I don t have access to any cpanel but if i remember correctly..

you should be able to add a redirect where you've added the domain in cpanel (parked, sub or addon), this would save you having to find out how and what to add exactly to htaccess because this way cpanel would write/add it for you


I have tried it in cpanel but every option I choose it still shows the directory.

maybe I should add it as an add on domain.... not too sure what this does, I belive it creates a diferent account.. so maybe this may be the solution... as I said I'm not 100% sure of its function.
 



 
loobossSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Redirection Of Domain To A Subdirectory 
 
http://webnet77.com/webstuff/parked-add-on-domain.html  

if you really want to write it in htaccess yourself google a bit for .. htaccess rewrite
 




____________
www.DutchaGoGo.com (development/under construction ...Forever?¿?)
 
Joshua203Send private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Redirection Of Domain To A Subdirectory 
 
Joshua203 wrote: [View Post]
http://webnet77.com/webstuff/parked-add-on-domain.html  

if you really want to write it in htaccess yourself google a bit for .. htaccess rewrite

#great! that explained it very  well thanks.

can't belive I never looked into this before
 



 
loobossSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Redirection Of Domain To A Subdirectory 
 
yeap! done it all from cpanel as an addon domain and pointing to my subdirectory... works like a charm.

Now, for the rest,
 



 
loobossSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Redirection Of Domain To A Subdirectory 
 
Good to hear, goodluck looboss  
 




____________
www.DutchaGoGo.com (development/under construction ...Forever?¿?)
 
Joshua203Send private messageVisit poster's website  
Back to topPage bottom
Post new topic  Reply to topic  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events


  

 

  cron