Free Web Hosting Forum
(#1 (permalink))
Old
Junior Member
tyzoid is on a distinguished road
 
Posts: 8
Join Date: Sep 2011
Default Change subdomain path. - 09-11-2011, 08:40 PM

Hello everyone,
I have an issue with the subdomains.

They work, but they are located in /public_html/<subdomain>/

the problem with this is I don't want people to access my <subdomain> via
tymcs.tk/<subdomain>

I want them to use <subdomain>.tymcs.tk

Is there any way to move the subdomain directory to /<subdomain>/ instead of /public_html/<subdomain>
Reply With Quote
Sponsored Links
(#2 (permalink))
Old
Zentharus's Avatar
Senior Member
Zentharus is on a distinguished road
 
Posts: 296
Join Date: Sep 2011
Default 09-11-2011, 08:53 PM

i cant quite understand what your trying to do
Reply With Quote
(#3 (permalink))
Old
Junior Member
tyzoid is on a distinguished road
 
Posts: 8
Join Date: Sep 2011
Default 09-11-2011, 09:10 PM

My website files are located in
/public_html/
Inside that, i have my index.php and other files.

Also inside there, I have my subdomains.
they are located in /public_html/subdomain/

This means that people can access the same place two ways.
subdomain.tymcs.tk or www.tymcs.tk/subdomain

I want two things.
#1. Users should not be allowed to access tymcs.tk/subdomain. Only subdomain.tymcs.tk
#2. I might want to use that folder in the future for a different purpose, so I want to move the subdomain path.
Reply With Quote
(#4 (permalink))
Old
Zentharus's Avatar
Senior Member
Zentharus is on a distinguished road
 
Posts: 296
Join Date: Sep 2011
Default 09-11-2011, 09:13 PM

Tyzoid heres the thing

subdomain.tymcs.tk
i can access
but this
www.tymcs.tk/subdomain
i cant it goes to AmigoGames
and subdomain.tymcs.tk has nothing in it
Reply With Quote
(#5 (permalink))
Old
chico's Avatar
Senior Member
chico is on a distinguished road
 
Posts: 341
Join Date: Aug 2011
Smile 09-11-2011, 09:17 PM

Im not completely sure what or why you are trying to do, but I should think you can use .htaccess to do the job. Something like:


Code:
Redirect /index.html http://subdomain.tymcs.tk/somefile.htm


Couldn't think of a fancy signature, so you get a instead.

Last edited by chico; 09-11-2011 at 09:22 PM. Reason: To fat fingers for typing on iPhone
Reply With Quote
(#6 (permalink))
Old
chico's Avatar
Senior Member
chico is on a distinguished road
 
Posts: 341
Join Date: Aug 2011
Default 09-11-2011, 09:24 PM

Missing a index.HTML file in your /subdomain/ folder?


Couldn't think of a fancy signature, so you get a instead.
Reply With Quote
(#7 (permalink))
Old
Junior Member
tyzoid is on a distinguished road
 
Posts: 8
Join Date: Sep 2011
Default 09-12-2011, 02:00 AM

subdomain was just an example.

The one I have currently is forums.

forums.tymcs.tk leads to the same place as tymcs.tk/forums

It's not really a HUGE deal... I just like to keep things seperated.
I would prefer if there were a way to change this... so instead of the files for the subdomain being in /public_html/forums/ I would like them to be located in /forums/

Am I still giving vague descriptions of what I am trying to describe?
Reply With Quote
(#8 (permalink))
Old
Junior Member
tyzoid is on a distinguished road
 
Posts: 8
Join Date: Sep 2011
Default 09-20-2011, 01:12 PM

Is that at all possible?

All I'm asking is, I don't want people to be able to access the same content at both forums.tymcs.tk and tymcs.tk/forums
Reply With Quote
(#9 (permalink))
Old
ShocK's Avatar
Senior Member
ShocK is on a distinguished road
 
Posts: 1,622
Join Date: Jul 2011
Location: UK
Default 09-20-2011, 01:35 PM

But it's only one forum, just 2 links to get to it.
Reply With Quote
(#10 (permalink))
Old
Zentharus's Avatar
Senior Member
Zentharus is on a distinguished road
 
Posts: 296
Join Date: Sep 2011
Default 09-20-2011, 06:07 PM

http://tymcs.tk/forums/
or
http://forums.tymcs.tk/
if you dont want them to access it from one add a redirect



if you would like to talk to me about pretty much anything please message me

Reply With Quote
Reply

Thread Tools
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 Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.5.2
vBulletin Skin developed by: vBStyles.com