Subdomains don't have to be publicly known, there are a number of ways you
can use a subdomain without publicly advertising it in DNS records :

1) use an internal DNS server for your zone and add the admin subdomain only
to this zone (some DSL modem/routers have this facility built in)

2) hardcode the DNS entry into the /etc/hosts file on the machines you will
be using for administration

I use a mixture of the two - normally starting with the second method, and
if a site is successful and requires more than a few people or machines to
perform admin functions, then I think about how to implement the first
method.

You can even go crazy and bind to a non standard port, block that port with
your firewall, and then you'll only be able to access it by creating an SSH
tunnel and mapping the port to your local machine, and accessing the admin
site via the local port - that's what I do right now with a few sites.

Do what works best for you, but if security is your primary concern, I
recommend the SSH approach :)

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED]
On Behalf Of James
Sent: 14 December 2007 06:14
To: [email protected]
Subject: [symfony-users] Re: Multiple Apps one project how to route?


On Dec 14, 2007, at 12:43 AM, Carl Vondrick wrote:
> Hey,
> I prefer to setup subdomains, but sometimes I also use subfolders if  
> I want to
> save an SSL certificate.  For example, www.example.org would point  
> to the
> frontend application while admin.example.org would point to the admin
> application.

I am really trying to stay away from subdomains.  I am really looking  
for more of http://www.domain.com/admin/  Mostly because I can hide it  
as a directory off the root.  admin.domain.com would be publicly known  
in DNS records.  That too me is a security risk.

The problem with getting sub folders to work is everything I've tried  
with .htaccess files and creating directories has failed.


James







--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to