Re: Web application architecture (subdomain vs. sub directory)

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

 



On 26 August 2010 08:08, Per Jessen <per@xxxxxxxxxxxx> wrote:
> Tim Martens wrote:
>
>> Thanks for all your answers. To clarify my question, I'm looking for
>> advice regarding how best to set up users for a web app, e.g.,
>> username.myapp.com vs myapp.com/username and the pros and cons of
> each.
>
> Using username.myapp.com means defining that name in your DNS and having
> a separate virtual host definition in your apache config.
>

While offtopic and nothing to do with PHP I think this should be
corrected: you can set a *.yourdomain rule which matches all
subdomains not explicitly set. So no, you do not need to define every
single name as a DNS record.

Regards
Peter

-- 
<hype>
WWW: http://plphp.dk / http://plind.dk
LinkedIn: http://www.linkedin.com/in/plind
BeWelcome/Couchsurfing: Fake51
Twitter: http://twitter.com/kafe15
</hype>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux