Sign up ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I am trying to create a sub domain like for the folder with document root public_html/7sislabs . If I visit the site its working fine . But , its showing something else ! I don't have the cgi-bin directory there .

share|improve this question

migrated from Dec 28 '11 at 8:05

This question came from our site for professional and enthusiast programmers.

1 Answer 1

up vote 1 down vote accepted

1) In the case of "", the web server should have a subdirectory "sislabs" under it's document root.

2) In the case of "", your DNS should be configured to have some host "", and the web server on that host should probably be configured for a virtual server "labs".

3) Each server and each virtual server can be configured to have its own cgi-bin (or any other resource directory), and the configuration may alias the same physical directory, or may point to different directories. Your choice :)

share|improve this answer
Thanks paulsm4...I didnt knew it . Thanks again – AssamGuy Dec 28 '11 at 5:35
My pleasure. Here's a short tutorial that gives you a flavor of setting up virtual servers on Apache. On IIS, of course, it's just point-and-click:… – paulsm4 Dec 28 '11 at 5:54

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.