cancel
Showing results for 
Search instead for 
Did you mean: 

pointing sub domain at my webspace

N/A

pointing sub domain at my webspace

Hi

I've read through the domain records FAQ but am still a bit confused.

If I have webpages saved at www.mydomain.co.uk/happy , for example:
www.mydomain.co.uk/happy/mainpage.htm

can I set up a domain record so that the subdmoain happy points at the folder. leaving me with:
happy.mydomain.co.uk/mainpage.htm

any help?

[Moderatore note (by acarr) : Cross posting removed - Please post only one thread in the appropriate forum. Multiple threads only confuse us, and cause some people to ignore your questions]
3 REPLIES
N/A

pointing sub domain at my webspace

A few questions:
- Where are your files - is your web space hosted on your own machine, or hosted by PN themselves?
- Is PN hosting the DNS for your domain?

I'm not exactly sure what you are trying to do... but, if the domain is hosted by PN, you can point the domain at any folder in .htdocs and a subdomain (with no separate record) will be a subfolder of that. You could set up an A record to point the subdomain somewhere else (e.g. your machine) or you could make it a CNAME for the main domain and point to the same place in .htdocs. Not sure if that helps Smiley
N/A

pointing sub domain at my webspace

You can't make a CNAME or A record of a subdomain point to any directory on the web server.

It is possible to create the DNS records, however, there is more to it on the server than just DNS.

The webserver needs to have information added to it, so that it knows which directory to serve files from, when it sees requests from your sub-domain. This is not currently possible.

This only applies to the PlusNet webserver. It is possible to do what you wish on any localy hosted web server, as you have full setup control.
N/A

pointing sub domain at my webspace

Yes, you're quite right - I was mixing up the PN web hosting arrangement with local hosting - having re read the OP message, it wouldn't have done what they wanted anyway :!:
I blame getting up too early on Sunday morning...