Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Jul 2011
    Posts
    1

    Default Sub domain from folder to sibling folder

    Hello guys and girls,

    I have one hosting account and multiple domains one for each subfolder.

    I want to create a subdomain for one of my domains but the thing is that the folder that I want the subdomain to point to is a sibling folder to the domain. This has an access problem as when I visit the subdomain link I get the cgi-bin default page.

    Is it true about the access problem or is it a misconfiguration that I did?

  2. #2
    Member
    Join Date
    Jan 2011
    Posts
    13

    Default Re: Sub domain from folder to sibling folder

    Not sure but check if the subdomain is resolving to the server correctly then please make sure that the IP given in the apache virtual host for the subdomain should be same as it resolves to.

    You can change the Document root of the subdomain in the httpd.conf file, make sure that the document for the subdomain is correct.

  3. #3
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,894
    cPanel/Enkompass Access Level

    Root Administrator

    Question Re: Sub domain from folder to sibling folder

    You don't need or want to be editing the httpd.conf for this sort of thing.

    Quote Originally Posted by opolychr View Post
    Hello guys and girls,

    I have one hosting account and multiple domains one for each subfolder.
    I take it you mean you have addon domains added to your main domain? An addon domain creates a folder like this.
    Quote Originally Posted by opolychr View Post
    I want to create a subdomain for one of my domains but the thing is that the folder that I want the subdomain to point to is a sibling folder to the domain. This has an access problem as when I visit the subdomain link I get the cgi-bin default page.

    Is it true about the access problem or is it a misconfiguration that I did?
    You want to create a sub.domain on one of these addon domains?
    Fav cPlinks this week: Blog - cPanel & WHM 11.32 we love it! | cPanel University study for it! | Attracta is coming! we want this!

Similar Threads & Tags
Similar threads

  1. Replies: 0
    Last Post: 07-29-2010, 07:52 AM
  2. Replies: 4
    Last Post: 02-06-2010, 12:22 PM
  3. sync folder from 1 web directory folder and network vpn
    By khambalya in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 07-29-2007, 05:08 AM
  4. Dont delete this folder - folder interal data
    By ozzi4648 in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 06-27-2006, 10:18 AM
  5. Replies: 1
    Last Post: 03-16-2004, 12:25 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube