Yes, my bad, I just checked ajob.com and www.ajob.com so I supposed allhotels.com was the same. Anyway, please, paste the output of the command.
Wow, how many redirects, if you only want to redirect www and non-www domain to https://ajob.com
you need this (keep in mind that I've added a missing trailing / to your Redirect directive)
Redirect permanent / https://ajob.com/
If you want to redirect http://www.ajob.com
to https://www.ajob.com
and http://ajob.com
to https://ajob.com
then leave it like this (removing the last redirect):
RewriteEngine on
RewriteCond %{SERVER_NAME} =www.ajob.com [OR]
RewriteCond %{SERVER_NAME} =ajob.com
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
and you need to do the same for allhotels.com
Also, you are not showing the important part, the SSL conf for your domains the conf files that should start with <VirtualHost *:443>
.
Cheers,
sahsanu