PDA

View Full Version : Change mydomain default folder


Eugen
09-07-2006, 04:53 AM
hello,

i have problem witch folders for mydomain and subdomains. my folders directory:


.cpanel-datastore
.fantasticodata
.gnupg
.htpasswds
...........
.......
public_html
www

public_html and www - mydomain default folders

if I create one subdomain, it looks in such a way: public_html/subdomain, public_html/subdomain1 .......

I can change the mydomain default foulder to public_html/default ?
or create subdomains default folder ---> public_html/subdomains --> public_html/subdomains/sub1, sub2 ....? :confused:

best regards
Eugen

Mazzic
09-07-2006, 08:01 AM
You can use the redirect option in control panel. The downside is that your url will contain the directory you moved the files to in it.

for instance. Now you type http://www.mysite.com and then in the browser you see something like http://www.mysite.com/default.htm.

If you move your files to a directory called main, then with the redirection when you type http://www.mysite.com you would see in the browser address line http://www.mysite.com/main/default.htm

All this handles is getting people that come to your site to the new directory. As long as you used relative links through out your site, this work. IF you absolute linked then you will have to modify your web pages. This will also break any links that you have on any external websites.

Eugen
09-07-2006, 08:52 AM
hmm, i moved my domain witch content and subdomains to bluehost. I have still another domain.I can change in other hoster control panel(Confixx pro) folders for mydomain und subdomains. I thought that it is here also possible :) it would be good, if there were here so a function also.

@Mazzic: Thanks for tip ;)
ps: Your link "-Mazzic [http://www.mazzic.org]" is incorrect, after click open url "http://www.mazzic.org%5D/".

Greeting
Eugen

Mazzic
09-07-2006, 01:01 PM
Eugen--thanks for pointing out my messed up url. I have corrected it.