httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mandy Singh" <man...@gmail.com>
Subject [users@httpd] Creating subdomains on the fly
Date Tue, 29 Jan 2008 17:17:16 GMT
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<http://%7byour_username%7d.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.

Mime
View raw message