Mail-In-A-Box How To On YouTube

If you have AWS CLI tool installed on your computer you can spin one up that way. But, as in the video I just use the GUI to create an instance.

To SSH into your instance the default username is “ubuntu”
Ex.
ssh -i yourcert ubuntu@ipaddress

I create an ssh cert file for each instance and upload it when I create a new instance. That’s where -i comes into play. Or you can just use the SSH console window for the instance in your browser too if you choose default.

Thanks for the quick reply.

I did

sudo apt-get update

sudo apt-get upgrade

Some packages were held back.

Installing MiaB now.

I have tried to follow your PDF.

I have created and deleted several instances.

The problem I am having is getting my domain name that was bought in Route 53 hooked to the instance. Added static-ip to the instance. Created a DNS zone and tied to static-ip. Added an A record in the zone pointing to my domain name.

How long should it take for the domain to use by MiaB? When installing MiaB I keep getting can’t resolve box.sample.com.

I would think once the domain name purchase from the registrar is complete, things in AWS would go quickly.

Not sure what I am doing wrong.

Dennis

Not to mince terms here but it is important … the A record is pointing to the subdomain, right? box (box.sample.com)

Here is the procedure if you are going to use Lightsail DNS record

  1. Purchase a domain in Route 53
  2. Create a DNS record in Lightsail under the MAIN network section.
  3. Change the NameServers in Route 53 to reflect those in Lightsail. (they can be found at the very bottom of the DNS Record in LightSail.
    Wait a few hours to about a day.

Or, if you are going to use Route 53. Which will cost you $0.50 a month where Lightsail gives you three free DNS records a month.

Create an instance in Light Sail
Assign a static IP address
Purchase a Domain in Route 53
Create a DNS zone
Create an A record with subdomain “box” pointed it at the Lightsail instance

Wait for about thirty minutes. Ping the instance to see if it’s connecting :slight_smile:
Hope that helps

Thanks. I was wondering about the difference and you explained it.

Don’t need to pay the extra $0.50. I sound like a tight wad. Grin

Dennis

I guess there is no point in installing MiaB in the instance until you can ping the domain from another computer, even though you can ping the static-ip.

Dennis

David thanks for your patience.

I see the four name servers in Lightsail, but I don’t see where/how to put them in Route 53.

Thanks.

Dennis

The best way to describe it is how I already did. I’m sorry. I show how to do it in the video. It will show you how to change the Nameservers. Just head to the Route53 section :slight_smile:
Good luck

Honestly, the video is 1hr43min in length.

Might I suggest that you index your guide to the time in the video? I think that would help some people out such as Dennis.

It is about 17 minutes into the video.

Got things changed. Waiting for things to propagate through.

For some reason I can’t ping the static IP address. I can talk to the machine via the Lightsail web interface.

Dennis

At the moment I’m in the middle of a huge project for a client. When I find some time I’ll be cutting those video’s up and adding segments to the Knowledgebase of BitsVital. But, it’s definitely not my first concern. I have a few other videos on the plate to make first. :confused:

Check the firewall on your Lightsail instance.

@pupsncats Thank you for all your help. Everything is working or will be. I have killed my instance and started over several times. (Developing muscle memory! Grin)
That last time I started over, I forgot to open all the ports, so I could not ping the instance.
The only issue now is reverse DNS. It has been fixed but is slow propagating thru all the systems. Got the OK email back from AWS.
The Status Check page complains about DNSSEC but I guess that is not a problem in the Lightsail environment since it is all in AWS.

Thanks again.

Now to migrate my other domain names over to AWS.

Dennis

No problem. Ignore DNSSEC. Route53 doesn’t support DNSEC.
Glad I could help! :slight_smile:

@pupsncats Does your Status Page show Reverse DNS is set correctly?

I filled out the form to request it be set and after a day or so got an email reply saying it had been set as requested. It has been a week and it still points to the ec2 cluster on the status page.

I checked with www.mxtoolbox.com and get the same.

Dennis

Did you apply to have the port 25 email sending limitations removed? That’s when AWS support set’s up your reverse DNS. They do both at the same time. It’s a security feature to prevent spamming.

Yes

Hello,

We have configured the reverse DNS record(s) you requested. Your request was mapped for:

Please note that propagation of this update to DNSBL services that Amazon works with may take up to a week.

Email sending limitations have also been removed for any resources for the region your EIP is located in.

Please let us know if you have any questions.

Best regards,

I use MXTool box too to check mine too. All of mine which have been…I don’t somewhere between twenty and fifty Mail-In-A-Box servers over the years have all updated within a few hours after I received the confirmation email.

If it’s been a week I’d send the form again. Verify the correct static ip address is in the form. And let them know in the comments that it’s been a week and reverse DNS has not been updated. Then open a support ticket,

I’ve never had a problem with that before. I’ve had some trouble when registering domains when it first came out. And another reason I like Amazon. I can actually talk or chat with a real person.

I’m sure you’re on the free support plan like myself. You can still contact support. Just use “general” as the category. If you call just let them know it’s part of the “free service” they never give me a problem at all. They will mark the ticket that you created before calling and send it over to…I guess Route53 department to take a look into it.

Best Regards.
Have a great rest of your weekend!

@pupsncats After bugging them again about rDNS not being set as requested, things are fixed now.

Thanks for your help.

Can you point me at a good “how to” for setting up S3 as the backup location instead of using the local backup?

Dennis