problem of subdomain - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Support Area (/forum-30.html) +--- Forum: Usage (/forum-34.html) +--- Thread: problem of subdomain (/thread-11447.html) |
problem of subdomain - freed1985 - 08-20-2010 06:02 PM How can I point a subdomain to my a folder? for example my web root is /var/www/virtual/maindomain.com/htdocs I want to point my subdomain to /var/www/virtual/maindomain.com/htdocs/sub but when I set point /sub ,It point to /var/www/virtual/maindomain.com/sub/htdocs and then I set it to /htdocs/sub,but It pointed to /var/www/virtual/maindomain.com/htdocs/sub/htdocs. Now how can I do to make it to /var/www/virtual/maindomain.com/htdocs/sub with out the htdocs folder? RE: problem of subdomain - kilburn - 08-20-2010 09:00 PM Create your subdomain with "/sub" mount point. Afterwards, login to the server through ssh, remove the "/sub/htdocs" folder and create a symlink /sub/htdocs -> /htdocs/sub. |