Isnt it just redict to another domain?try to use "domain pointer"
it relate to thisIsnt it just redict to another domain?
Thats it! How can I do that?You could use a symlink.
home/domains/domain-A/public_html <-- is the dir you want.
Create a symlink between home/domains/domain-B/public_html and home/domains/domain-A/public_html
Do this as well for the private_hmtl directories.
@smtalk I just set up domain pointer, go to website and then I see that I have my "base domain" in browser not this pointed oneDomain alias is not a redirect, it'd open the same website when accessed, unless it's your CMS or .htaccess sending a redirect.
Nah...as long it will work it will be good.It may work but its not the correct way to do it.
Its a hack. Apache tells the request to go look one place and then it gets redirected to another place. Its an extra step for each request. Pointers are the correct way. No extra steps. Its not the DirectAdmin way. Its the correct way. DirectAdmin calls them pointers but what it does is the correct way to have multiple domains point (Pointers) to the same web site. You just want to make sure to "Create as an Alias"Nah...as long it will work it will be good.
So If I will "Add Alias", it will not just redirect to main domain?Its a hack. Apache tells the request to go look one place and then it gets redirected to another place. Its an extra step for each request. Pointers are the correct way. No extra steps. Its not the DirectAdmin way. Its the correct way. DirectAdmin calls them pointers but what it does is the correct way to have multiple domains point (Pointers) to the same web site. You just want to make sure to "Create as an Alias"
I am saying this not for just you but anybody else that comes along months or years later.
I tried pointers. I set it up for my main domain (which leads to my site) but when I enter pointed domain it redicts me to the site that my hosting provider puts by default (something like there is no site yet. Upload it to public_html)Its a hack. Apache tells the request to go look one place and then it gets redirected to another place. Its an extra step for each request. Pointers are the correct way. No extra steps. Its not the DirectAdmin way. Its the correct way. DirectAdmin calls them pointers but what it does is the correct way to have multiple domains point (Pointers) to the same web site. You just want to make sure to "Create as an Alias"
I am saying this not for just you but anybody else that comes along months or years later.