pmagony
asked on
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: forum.mydomain.com...
A) mydomain.com/forum // My forum installation and files are properly working in this directory right now.
B) forum.mydomain.com // 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 : forum.mydomain.com - all works great till I visit forum.mydomain.com 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.
Thanks!
I'm having issues understanding the setup of a subdomain on my server. I want to create a subdomain for our forum. Very simply: forum.mydomain.com...
A) mydomain.com/forum // My forum installation and files are properly working in this directory right now.
B) forum.mydomain.com // 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 : forum.mydomain.com - all works great till I visit forum.mydomain.com 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.
Thanks!
ASKER
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:
mydomain.com/subdomains/fo rum/httpdo cs/ (forum.mydomain.com)
my working forum is here:
mydomain.com/httpdocs/foru m/ (www.mydomain.com/forum)
I would like forum.mydomain.com to map to www.mydomain.com/forum.
When I created the subdomain, it was created here:
mydomain.com/subdomains/fo
my working forum is here:
mydomain.com/httpdocs/foru
I would like forum.mydomain.com to map to www.mydomain.com/forum.
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 'forum.domain.com' and put that into /forum
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 'forum.domain.com' and put that into /forum
ASKER
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-
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-
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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.