Creating subdomains on the fly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Everyone,
 
Hope everyone is doing good :)
 
I have seen this on many hosting sites, where you go and register and then you immediately get a url like http://{your_username}.theirdomain.com.
 
I know that this involves 2 steps on my windows box -
 
1) adding an entry in the hosts file
 
2) adding a name based virtual host
 
However, now I have a requirement to do this on linux/apache.
 
Generally it requires a change on the dns end as well as adding a name based virtual host.
 
How can I automate this process?
 
How can I give every user on the site a subdomain as their username?
 
Please let me know
 
Thanks,
Mandy.

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux