Hi Nibbler,
Thanks for your response.
I have changed document root to
Code:
/var/www/vhosts/mywebsite.com/httpdocs/abc
and/or
Code:
/var/www/vhosts/mywebsite.com/httpdocs/abc/
and restarted the server a number of times.
but abc.mywebsite.com still resolves to mywebsite.com
Could there be other factors that could be responsible for it not resolving to the subdmain/folder?
e.g my DNS entries for creating this subdomain. Here's what my DNS entries look like:
Code:
DNS Manager ยป abc.mywebsite.coom
SOA Record
Primary DNS Email Default TTL Refresh Rate Retry Rate Expire Time Options
ns1.linode.com me@myemail.com Default Default Default Default Settings
NS Records
Name Server Subdomain TTL Options
ns1.linode.com abc.mywebsite.com Default Edit | Remove
ns2.linode.com abc.mywebsite.com Default Edit | Remove
ns3.linode.com abc.mywebsite.com Default Edit | Remove
ns4.linode.com abc.mywebsite.com Default Edit | Remove
ns5.linode.com abc.mywebsite.com Default Edit | Remove
Add a new NS record
MX Records
Mail Server Preference Subdomain TTL Options
mail.mywebsite.com 10 Default Edit | Remove
Add a new MX record
A/AAAA Records
Hostname IP Address TTL Options
12.34.56.78 Default Edit | Remove
mail 12.34.56.79 Default Edit | Remove
Add a new A record
CNAME Records
Hostname Aliases to TTL Options
www abc.mywebsite.com Default Edit | Remove
Add a new CNAME record
TXT Records
Name Value TTL Options
Add a new TXT record
SRV Records
Service Domain Priority Weight Port Target TTL Options
Are you able to spot anything I might have entered wrongly?
Thanks.