Subdomain Configuration, Plesk 7, DNS

Hi all,

I'm having issues understanding the setup of a subdomain on my server.  I want to create a subdomain for our forum.  Very simply:

A) // My forum installation and files are properly working in this directory right now.

B) // I would like for this subdomain to map to A).  Is this possible?

I've created the subdomain through my Control Panel successfully.  Now, on my host management account, I had to add a new DNS record to support my subdomain. CNAME : - all works great till I visit I get a standard plesk holding page.  So I log into the root of the server and I see that there is a folder 'subdomains' and inside of it is the forum directory.

At this point, I really do not want to re-install my forum into this new directory. It was my understanding that the subdomain could be mapped to a folder at the website root.  Is this not accurate?  Any suggestions are greatly appreciated.

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

This works.  You shouldn't need to go and change anything in the WHM manager.
From memory I think to get both the forum installed and to get a subdomain you need to do a little cheat.
When you install the forum into domain/forum - it works fine (you have got this far)
If you try to add a subdomain it says 'directory already exists'
Log onto the server.  
Rename the folder to forum2
create the subdomain 'forum' (this adds the dns entries for you)
now Delete forum directory and
Rename forum2 back to forum.

Now your forum words and the subdomin works and points to it.

pmagonyAuthor Commented:
In my WHM I *have* to create a DNS entry.  Otherwise it will not work.  The DNS in Plesk does not control the DNS for my website.

When I created the subdomain, it was created here: (

my working forum is here: (

I would like to map to
you mention cname.  
Dont use cnames or you will get the wrong content.
give it an 'a' name and point to the servers IP address.
then the apache server is setup to pick up that domain name '' and put that into /forum
pmagonyAuthor Commented:
I'm sorry, but could you be a little more specific?  "Don't use cnames or you will get wrong content." doesn't sound like expert advice.

Changing, deleting, adding records to DNS can have serious implications.  Please explain why you think I should opt to use an A record over a CNAME record for setting up a subdomain.

Thank you-
Sorry - not very clearly typed on my side.

cname is an alias to a record with a real IP address (or 'a' record).

If you use a cname the name being typed in is passed to the website and should be the one it uses when apache looks it up.  BUT in some cases the name is the one you are redirecting towards and then you get the wrong content (you would get the content for the main site not the subdomain).
An example of when this can happen is if you loadbalance.
Ok - probably not something you are doing but good advise to start with in my opinion.

Another reason not to use CNames in DNS is it requires twice as many lookups and so delays the requests.  Again small and probably something that doesn't bother you but.... start with a good start.... :)
In your case these two will probably not matter so a Cname will work and will give the right content.

If you have created it in the plesk it will not be using that for the DNS entry but it should put the right settings in the apache config to get it to the right directory when you approach with the sub domain name

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.