Redirecting domain to seperate folders on the server

Website URL

cakekit.great-site.com
skevents.great-site.com

Other Information

created 2 folders on the account but not able to create redirects to the folder. Read the topic on redirecting could not understand it fully.
i have made 2 separate folders in htdocs folder with the names of the sites.

Can you please describe the desired situation in a bit more detail?

Usually, Redirects are only used to redirect to another website, not a directory within the same site. However, there are things you can do to either redirect from the base domain to the subfolder, or even magically fetch the files from a subfolder without the subfolder being visible in the URL.

However, this only works with one subfolder, not two, so I’m not sure what you are trying to do exactly.

2 Likes

well i am trying to host 2 sites with 1 account. is that possible? or they got to be separate accounts? With other company hosting i could point the website to a particular folders in the account.
Thanks for your guidance

You can put as many domains as you want on the account, but you can’t choose your own root folders. When a domain is added, a new folder structure /domain.tld/htdocs is created. The original /htdocs folder is only for your original domain.

5 Likes

thanks . i got it, had to write a new.htaccess in the folder of the site folder

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.