You need a forwarder. Sometimes your domain registrar will bundle this, or of you are running apache you can create a redirect in your vhosts file.
Aug 24, 2017
5
Level 1
How would I allow two domains for my project? One regular and one short as a shortcut
Hi, Say I have the domain: www.mydomain.com And users can go to their profiles using www.mydomain.com/user/username
Now I recently got a short version of my domain called www.myd.com I would like it so you can do www.myd.com/username and it would take you to www.mydomain.com/user/username
How would you do that?
Do I need to do anything server sided or is this possible to do with DNS?
I am using laravel forge and digital ocean for my website.
Please or to participate in this conversation.