I am using iPage shared hosting. I want to access my emails at URLs like mail.xyz.com where I can directly login to my email. Right now it is going to the iPage website and logs in from there.Can you please let me know how to set this up.
How do I set a subdomain like mail.v2techlabs.com where I can directly access my email
email;shared hosting
It sounds like you're trying to setup access to a web application for email, commonly referred to as Webmail, for your domain. The subdomain mail.abccompany.com is often used as the name of mail servers, which  sends out or receives email. More often the subdomain used to access Webmail is simply: webmail.abccompany.com, and a CNAME record in the domain's DNS tables is created for that.Most web hosting packages that include email offer Webmail access, and if the web hosting company you're referring to is ipage.com, then it appears they do as well: iPage Features However, since you're using shared hosting, you likely won't have access to install or configure server applications like Webmail yourself, and therefore will be limited to what they provide. Therefore, I would suggest contacting their tech support to confirm if you can forward your Webmail access to a subdomain and to assist you further.Otherwise, if this is critical to you, I would suggest finding a different web hosting company that offers that (those using control panels like cPanel or Plesk would), or looking into VPS and dedicated servers, where you have much more control over server applications and configurations.