Confusion about linking third party domains and mail servers.

Hello,

I'm having trouble setting my registered GoDaddy domain name (http://www.matrixcabparts.com) and pointing it to my linode1133448 (http://www.matrixcabparts.net, 45.33.54.100) with the correct DNS configuration and reverse DNS. I have been using several Linode guides and third party tutorials as well. I figured it would be better if I posted screenshots of my DNS configurations and what my file directory looks like so see below. I already have my GoDaddy domain name server settings pointing to ns1.linode.com, ns2.linode.com, etc. And I think I have waited long enough for the servers to propagate the changes I've made recently. Also, does the domain I assigned to my virtual host have to match my registered domain name on GoDaddy? Or did the one I originally assign to my virtual host on Linode register that new domain for me and I can use one to link to another? Or do I have to register the domain on GoDaddy that I originally assigned to my virtual host too? One more thing, I have an email hostname registered with GoDaddy at matrixllc.build. Can anyone explain how to set up a Linode mail server and create MX records to associate my GoDaddy hostname with my Linode mail server? If you could offer any advice or notice anything wrong with my set up I would appreciate it and I look forward to hearing back from you guys.

P.S. I'm using Wordpress.

~~![](<URL url=)http://i.imgur.com/WrHHarI.jpg" />

~~![](<URL url=)http://i.imgur.com/6lvP67H.jpg" />

Should my domain zone domain name be the one I originally assigned to my virtual host on Linode or my GoDaddy domain?

~~![](<URL url=)http://i.imgur.com/JdOdU1E.jpg" />

The html folder has nonsense files, my site is in the /var/www/matrixcabparts.net/public folder.~~

5 Replies

The DNS manager shows you've created a zone file www.matrixcabparts.com the zone should be matrixcabparts.com so first you need to correct that.

Also note that Linode's DNS manager updates every 15th minute past the hour.

The domain matrixcabparts.net isn't registered so that won't work period.

matrixllc.build is pointing to Linode's nameservers but appears not to have a record either, did you set the zone to www.matrixllc.build instead of matrixllc.build?

DNS records don't effect virtual hosts directly you need to set those up yourself.

So fix the DNS zone files, register the .net domain if you want to use it. Give it 15 minutes and try again.

Thank you for your fast reply! I'll make those changes asap, but I was wondering if it would be easier for me to just register the .net domain and redirect the .com domain to the .net one after, or to change the virtual host settings and directories to the .com (get rid of the .net), or would I have to make a new virtual host and duplicate my site if I ditch the .net?

Ok I'm a little confused but that could just be my tired brain.

You don't own the .net so unless you register it you shouldn't be using it at all. If your virtual hosts are set to .net now then they shouldn't be.

You can edit the virtual hosts to .com if they are .net just by replacing all instances of .net with .com then restart your web server and it'll respond appropriately.

If you register the .net you can have the same virtual host serve both the .net and .com domain

I went ahead and registered the .net domain with GoDaddy and it seems like matrixcabparts.net is set up as it should be. I tried forwarding the .com domain to the .net domain on my GoDaddy's DNS settings and it seems like it worked too, but for some reason it is loading the wrong file. When I load the .com domain it seems to be loading my /var/www/html/index.html file which is just a nonsense 'Apache2 Ubuntu Default Page' when it should be loading /var/www/matrixcabparts.net/public/ where my site files are located just as the .net domain does. What's going on?

I see the .com is now using godaddy's servers, it looks like you've set it to redirect to matrixcabparts.net which is using Linode's name servers however it has two A records

matrixcabparts.net.    600 IN  A   45.33.54.100
matrixcabparts.net.    600 IN  A   184.168.221.46

The 184 record is a godaddy IP and should be removed.

The .com has MX records which point to

mailstore1.secureserver.net. 31    IN  A   72.167.238.32
smtp.secureserver.net.    30  IN  A   68.178.213.203

Which I assume is correct.

The .net has MX records which point to

matrixcabparts.net.    600 IN  MX  10 matrixllc.build.

matrixllc.build has no dns records so mail won't be delivered for the .net domain

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct