View Full Version : Sub Domains
OptimusIRC
06-16-2004, 05:47 PM
Is there a way to make like a subdomain like support.mydomain.com go to like /home/admin/public_html/cgi-bin/somthen.cgi
Or even like Support.mydomain.com to go http://domain.com/cgi-bin/somthen.cgi...
of if it cant be done with this control panel can someone tell me how to do it manually?
Thanks,
Optimus
l0rdphi1
06-16-2004, 06:31 PM
Hello,
Create the sub-domain "support.mydomain.com"
Login to SSH, run these commands:
rm -fr ~/domains/mydomain.com/public_html/support
cd ~/domains/mydomain.com/public_html
ln -s support /home/admin/public_html/cgi-bin
echo 'DocumentIndex somthen.cgi' > /home/admin/public_html/cgi-bin/.htaccess
That should do it :)
Phi1.
OptimusIRC
06-16-2004, 07:38 PM
Is there a place to talk to you ? Aim , Yahoo, Irc, msn, icq? I have a couple questions
OptimusIRC
06-16-2004, 07:52 PM
That doesnt work.. Is there a way to do it out of the httpd.conf thats for the admin user?
DirectAdmin Support
06-17-2004, 11:22 AM
Hello,
you could set that up in the virtual_host_sub.conf template:
http://help.directadmin.com/item.php?id=2
John
OptimusIRC
06-17-2004, 03:38 PM
I dont understand what to do.
OptimusIRC
06-21-2004, 05:15 PM
Does anyone know how to do this and can pm me and maybe login to my server and help me with one of the subdomains deals so I can do the rest.
Optimus
dazerrackers
06-22-2004, 10:55 AM
Can't you just do this simply by using a redirection script. Or Redirect from the User Panel?
OptimusIRC
06-22-2004, 04:45 PM
maybe but id rather do it the hard and more complicated way :P
its more pro looking
Powered by vBulletin™ Version 4.0.4 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.