I was wondering how todo so i can access the webmail at webmail.mydomain.tld instead of mail.mydomain.tld/mail...
The A record is setup and ready to use, getting this message at the moment:
This is the default web page for this server.
The web server software is running but no content has been added, yet.
You have to use apache virtual domain. Say you have the domain curse.org and you want to have webmail at webmail.curse.org
you would point your A record for webmail at the server, and using the apache virtual domain, it would track which domain request was sent, and feed a different folder based on that.
However, the easier solution i have devised is:
In CentOS, the default path of apache serving (ie webmail.curse.org) is /var/www/html
there is an index.html file there.
window.location = "https://webmail.curse.org/webmail"
Just place that in the head of your index.html document.