Domains Pointer

Dudik

Verified User
Joined
Feb 5, 2012
Messages
20
Hello,

I have a domain "123.com" and i made this code in httpd:
ServerAlias *.|DOMAIN|

In my website somebody can register and open with subdomain his own site like: lol.123.com

Now, sometimes some members want to use with other domain, so i make them domain mapping, that's mean when you go to http://www.member.com you will see the lol.123.com site without changing the url of browser.

I try to add domain lol.123.com to my directadmin and the use domain pointer and add there member.com but when i try to go member.com i just see 404 page (beacuse not have noting in public_html of lol.123.com

What can i do in HTTPD options for this problem?

Thanks,
Dudi.
 
If I understand it correctly, you have multiple websites on the public_html of the main 123 domain and let the application handle the request. In that case just make the member domain as a pointer to the 123 domain as it will have the same result. In the application you probably only filter out the subdomain, you just have to add the member domains. I don't think its possible to somehow have it memberdomain -> sub.123 -> 123 with pointers or other simple httpd config.
 
Hey, thx for answer.

So, the thing that i need is memberdomain -> sub.123.com
How can i do that in HTTPD or in other way in DirectAdmin?
 
Back
Top