I have registered a domain example.com with GoDaddy and setup everything on their side and on my machine.
I want to install RoundCube (which isn't a problem) but I would like to have it on webmail.example.com.
On ISPConfig, I created the website for example.com, to which www.example.com
and example.com respond fine. I then created the website 'webmail.example.com', so I could have RoundCube on a folder structure separate from the main website.
On my DNS zone records, I have:
A mail xxx.xxx.xxx.xxx
A webmail xxx.xxx.xxx.xxx
A www xxx.xxx.xxx.xxx
I can dig any of these combinations:
, example.com, webmail.example.com.
But when I try webmail.example.com in the browser, it shows me the page of (www.)example.com
, and not the index.html file in the webmail.example.com folder.
What I believe is that the vhost registered in apache is directing all its traffice to the main site, and does not recognize the other.
Can anyone help me out on this matter? I have been reading stuff everywhere for almost 3h and can't seem to sort this out.
Do I need to set up any type of redirection?