I send from helo@green.net. I don’t want when someone goes to - green.net to see “this is a mail-in-a-box” so i want to redirect the domain green.net to green.com
if i add the rule below in .htaccess of green.net would it work fine? Would it influence the normal workflow of the mail server?
Ok, The java redirect works fine but all it redirects is the root domain NET to COM, which in my case is not enough. So i did the following: I logged in MiaB with WinSCP and found root/etc/nginx/nginx.conf and added the following change:
http {
server {
server_name .green.net;
return 301 https://www.green.com$request_uri;
}
Which works fine and redirects not only the root domain (green.net > green.com), but also would redirect a link like green.net/one/two/three/four > green.com/one/two/three/four
but here comes the difficult part i want to keep all redirects described above and at the same time i want to be able to redirect a subdomain - one.green.net/monday/tue/wen-4 > one.green.info/monday/tue/wen-4
Here is the last i tried, which does NOT work. If s.o. knows what is wrong with that one below, that would definitely be the high line of the month.
http {