G
G
Grizar2020-11-27 22:27:25
htaccess
Grizar, 2020-11-27 22:27:25

How to direct domain to folder in directadmin?

I have a DIRECT-ADMIN hosting control panel, there is no possibility to add many domains there, I can only add aliases.
question: how to direct a domain that is directed as an alias to a specific folder so that this folder is opened when this alias domain is requested?
those. mysite.com is the main domain,
two-site.com is an alias,
I create a folder mysite.com/folder1/index.html and when I go to two-site.com I get accordingly
to mysite.com/folder1/index.html

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sanes, 2020-11-27
@Grizar

via .htaccess

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question