Resolved: Adding MX Record(s) in AWS

 Recently, I was migrating MX records from WIX to AWS. I was using GSuite and I was unable to do the same. Then after a little bit of research, I found this stackoverflow link , which helped me resolve the problem. Here is how you should be adding the records in AWS. Record Name: @ Record Type: MX Value: <Priority> <Route Traffic to> example: 10 aspx.alt1.google.com And if you have multiple records, simply add the records in the same text area in the new line and no commas. This will resolve your problem. :)

Resolved: Getting 404 on refresh in angular or react application

 PROBLEM: If you are working with a single page application (SPA) say an application built with Angular or React, you may get a 404 when you hit a refresh on a specific route and you host your application on Apache Server.

Solution

Simply add a .htaccess file in the root directory of your application or website and your problem should be solved

 

RewriteEngine on
#RewriteCond %{HTTPS} !on


RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]

RewriteRule ^(.*) /index.html [NC,L]


# RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}/index.html
# RewriteRule ^([^/]+)/?$ index.html [L]
# RewriteCond %{REQUEST_URI} !^/index.html$
# RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}\.(php|html)$ /index.html [L,R=302]