0

i have followed this Digital Ocean Mail-in-a-box tutorial to set up Mail server in existing Web server.

hostname: box.somename.com

i also have domain with

Domain name: www.somename.com
Name servers: ns1.box.somename.com and ns2.box.somename.com
Host Names: ns1.box ip_address and ns2.box ip_address
A Record: ip_address

after installing mail server (successfully) my domain www.somename.com is pointing to mail server landing page. but i want it to be separate like

www.somename.com  --> normal web app hosted in same server (using ngnix)

box.somename.com --> mail server landing/admin page

how can i achieve this.

  • you can try a different port or sub domain for mail – Lucky Chingi Sep 19 '16 at 20:36
  • yes i'm using subdomain for mail box.somename.com but the problem is both box.somename.com and somename.com are landing on same page which is mail-in-a-box homepage – Jag Sep 19 '16 at 20:41
  • setup a virtual host for mail – Lucky Chingi Sep 19 '16 at 20:48
  • hmm sorry im new to this sever things. can you please explain in detail or point me to a helpful resource – Jag Sep 19 '16 at 20:51
  • Refer to virtual host section here – Lucky Chingi Sep 19 '16 at 20:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.