A site's been developed on localhost and I want to move it to my new hosting, which uses Plesk. This hosting doesn't have DNS pointing to it, although the domain is added. (The domain name is currently pointing to my old hosting.)
I have changed $base_url
to the preview URL Plesk provides:
$base_url = 'https://the-url-pleskprovides:8443/sitepreview/http/myurl.com';
I can access the site and even browse, but I can't login because login redirects to https://the-url-pleskprovides:8443/user
instead of https://the-url-pleskprovides:8443/sitepreview/http/myurl.com/admin/
.
Is there any way to work with Plesk preview, or with Drupal without a domain?
Any help will be highly appreciated.