yes that version should work.
That is usually an error with your site settings. Maybe you have a https redirect but your Site URL is set with http://, or a www. redirect but you aren't using www. in your Site URL.
I couldn't be sure without reproducing your site definition. If you want to export it and send it as a private attachment, I could import it and reproduce the problem and debug the cause.