Basecamp Style Subdomains

jeffreybos

New member
Joined
Sep 3, 2013
Messages
3
Hello,

I've a question.

How can i do this in directadmin. I am the owner of the vps

<VirtualHost *:80>
DocumentRoot "/Users/densepixel/Sites/MAMP PRO/nettutsappfront"
ServerName nettutsapp.com
ServerAlias nettutsapp.com

<Directory "/Users/densepixel/Sites/MAMP PRO/nettutsappfront">
Options -Indexes
Options FollowSymLinks
AllowOverride All
</Directory>
</VirtualHost>

<VirtualHost *:80>
DocumentRoot "/Users/densepixel/Sites/MAMP PRO/nettutsapp"
ServerName nettutsapp.com
ServerAlias *.nettutsapp.com

<Directory "/Users/densepixel/Sites/MAMP PRO/nettutsapp">
Options -Indexes
Options FollowSymLinks
AllowOverride All
</Directory>
</VirtualHost>

I follow this tutorial http://net.tutsplus.com/tutorials/php/basecamp-style-subdomains-with-codeigniter/

Thank you!
 
I'm not at all sure what you want to do, since DirectAdmin uses the /home directory and not a /user directory.

If you need to change the way the user-level httpd.conf files look and work you can move the templates to the custom directory and edit them there.

But DirectAdmin will still need the /home directory structure; it uses it for email as well, and the DirectAdmin backup user, reseller and admin level user backups will only backup content in the /home directory path.

Jeff
 
I'm not at all sure what you want to do, since DirectAdmin uses the /home directory and not a /user directory.

If you need to change the way the user-level httpd.conf files look and work you can move the templates to the custom directory and edit them there.

But DirectAdmin will still need the /home directory structure; it uses it for email as well, and the DirectAdmin backup user, reseller and admin level user backups will only backup content in the /home directory path.

Jeff

I following the tutorial on net.tutsplus.com and that are the settings for the VPS. I don't know how this should be set in direct admin.

Jeffrey
 
I can't answer, because I have no experience with Basecamp. Perhaps someone who does will respond. Or failing that you could try reading through the instructions and intelligently replacing the paths DirectAdmin uses, to see if it works.

Jeff
 
I can't answer, because I have no experience with Basecamp. Perhaps someone who does will respond. Or failing that you could try reading through the instructions and intelligently replacing the paths DirectAdmin uses, to see if it works.

Jeff

I can't answer, because I have no experience with Basecamp. Perhaps someone who does will respond. Or failing that you could try reading through the instructions and intelligently replacing the paths DirectAdmin uses, to see if it works.

Jeff

I will explain it otherwise,

I have a php / mysql script where I can create a project. Each project should automatically get a subdomain.

For example:
http://projectmanager.domainname.com
http://timemanager.domainname.com
etc.

How can I automatically do this without using the direct admin api
 
Create a new domain in directadmin and enter the subdomain as the domain and setup the dns manually.
 
Back
Top