0

I have 2 domain on one server.

for example:

a.com & b.com

now I want when a user come in by any another domain example x.ir,y.net,*

apache rewrite it to root of b.com directory.

my panel is directadmin.

now I want to know which file does I must edit and what must write in it ?

more explain:

I have a site called b.com now everyone come in and register in it I show him my NameServers and if he have any domain can set my nameservers on their domain.

I have another site on my server called a.com

now I want if anyone come in with his domain except a.com, apache send him to b.com root directory.

saeid ezzati
  • 855
  • 11
  • 29

0 Answers0