• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Site preview uses internal server address

E

EuroMaverick

Guest
Hello people,

When I do a site preview (using the preview button in the Plesk panel), I get a screen that opens up to show the preview and that has the following address: http://192.168.135.8/$sitepreview/<name of the site>/.

This does not work, since the 192.168.135.8 is the internal address of the server. When I manually replace that address with the external fix IP of the server, the preview works fine.

So, how do I change this so that not the internal, but rather the external IP-address is used as a default in these preview screen ?

Many thanks in advance !

Regards,

Mav.
 
Okay, let me be more specific: the server I am working on, is located in a datacentrum, far away from where I am. I am not in the same network as the Plesk server and I contact Plesk via the fix IP-address of the server.

The only thing Plesk does wrong, is using the internal IP-adres of the server to generate the URL to the site preview. Apart from that, everything works fine and as far as I can see, NAT should have no influence here.

I am pretty sure I should be able to change that somewhere, but I don't see where...

Regards,

Mav.
 
Back
Top