Pointing a subdomain at a file

Posted by Seva Alekseyev on Server Fault See other posts from Server Fault or by Seva Alekseyev
Published on 2010-10-07T18:35:10Z Indexed on 2011/06/26 8:23 UTC
Read the original article Hit count: 194

Filed under:
|
|

Switched hosting recently (Linux, CPanel, WHM). At the old host, there was a subdomain that had a file (instead of a directory) as a root. The file was a CGI script. The said subdomain was created via CPanel by me a while ago.

At the new host, I'm trying to recreate this subdomain. And I get the following error:

The directory, /home/(...)/cgi-bin/guest.cgi could not be created.

Is there a tweak somewhere that enables this functionality?

EDIT: tried to repeat the trick on the old site, and I could not. CPanel update broke it, maybe?

© Server Fault or respective owner

Related posts about linux

Related posts about subdomain