I'v been searching the internet for ways to redirect/mask a domain in Linux (Ubuntu) and everything points me to godaddy. The server is ssh there is no control panel on it. So if anyone knows a way I can redirect my domain name and mask it that would be great. For example domain1 points to domain2, but in the address bar it shows domain1. Please let me know thanks.
If you have access to httpd.conf the easiest way is to set up a virtual host. Read here: httpd.apache.org/docs/2.0/vhosts/