Help with multi domains


#1

i have a vps that is running my miab with all the trimmings and it is running good and has for a few months now

i own many domains altbash.com,.net,.tech,.pw and would like for all of the mail for those domain to go to my miab which is running on .net domain and useing the dns system built in the miab system
i am useing .com domain to host my web site and own-cloud setup, which is on a second vps.

so i have looked at the listings that i have found here about multi domain setups but no one has ever said realy how to set them up.

So i am asking how to make this work and to teach me a little more about mail in a box


#2

Setup an A record in “Custom DNS” for your website (sub)domain.tld poiting to your other webserver IP address.


#3

i can do that but how to i tell dns to send all the mail for all those domains to the miab


#4

and that domain is not in the drop down box


#5
  1. Create your website domain in your MiaB by adding its fist email address then, your MiaB will create all your needed ‘Standard’ DNS entries automatically.
  2. Point your website domain to your MiaB NS(s) (aka ns1.box.yourboxdomain.tld and ns2.box.yourboxdomain.tld) at your registrar.
  3. Add a custom DNS A record entry for your domail.tld domain pointing to your webserver IP address.
  4. Add a custom DNS entry for your www.domail.tld (sub)domain domain pointing to your webserver IP address.

Notes:

  • That’s ONLY if you want to manage all your domains DNS(s) through your MiaB server.
  • DNS changes may need up to 48h to propagate worldwide.

#6

i can’t just send the mail to the mail server i have to redo all dns stuff

for example – www.altbash.com is the site but user@altbash.com to the mail server


#7

Then, as said, add custom A record for www.altbash.com pointing (value) to your webserver IP Address.


#8

For clarity this should state:
2. Point your name servers to your MiaB NS(s) , at your registrar. (For each domain)
(aka ns1.box.yourboxdomain.tld and ns2.box.yourboxdomain.tld)


#9

if that is the case then how would you deal with cloud.altbash.com


#10

If cloud.altbash.tld runs in your other WEB server, too then add a custom A record for cloud@bash.tld pointing (value) to your webserver IP Address.


#11

why do i get this error with the a record

? Web has been disabled for this domain because you have set a custom DNS record.
? A redirect from ‘www.altbash.com’ has been disabled for this domain because you have set a custom DNS record on the www subdomain.

sorry for all the questions but want to get this right to move on to add to my web site upgrades


#12

and when i try to make mail.altbash.net which is a sub of box.altbash.net
in the pannel to make that it would be ip/mail right


#13

Because MiaB is expecting the A record to point to this box, but it is not. You can safely ignore this error and also the errors that will be shown in the status page.


#14

ok now the issue with the sub domains i want mail.altbash.net to land on box.altbash.net/mail


#15

You’ll have to access it as https://mail.altbash.net/mail

There are some unsupported modifications to do what you want I believe … search the forum.

Personally, I just use the URL as above … of course /admin works too.


#16

so you are saying that if in but in mail.altbash.net i can not make it reroute to box.altbash.net/mail automatically


#17

Maybe this will help … and there are other methods if you search this forum carefully. Most are unsupported modifications as they will be overwritten when MiaB is updated.


#18

This one may be better …


#19

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.