• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Web Preview for Resellers no working?

J

JeffWebbUK1

Guest
Hi there,

I've recently set up a handful of reseller accounts for folk on my server, these are working fine but they have asked how they can preview websites they are moving across PRIOR to switching across DNS - the dedicated IP for the server is set to shared, and I have (on my super user login) enabled web preview - but I cannot find a setting for resellers to enable web preview, nor do I actually know what IP etc they could give to their customers to 'test' a live site before moving it.

Because of the nature of the sites, putting them on the back of another site is not a solution, really it needs to be something like:
"Oh, go to http://123.123.123.123/yourdomain.com/ and you can see your site before we move it across"
I've read on the net this can be done using Plesk - but it doesn't work - and the 'preview in web browser' buttons all point to the fully qualified domain rather than an IP local URL.

Any help or assistance would be greatly appreciated! I have complete access to the server, so anything that needs switching on/modifying is not a problem.

Thanks in advance!
Jeff
 
Documentation is incorrect

I am likewise trying to accomplish this. Plesk documentation says that after enabling Quick Preview, sites can be previewed at the following patterned URL:

"customer-site.tld.192-0-2-12.your-domain.tld. Here 192-0-2-12 is the site's IP where dots are replaced with dashes."

i.e.

familyhomeeveningideas.com.67.222.1.151.fasterthanlighthosting.com

which is awkward to say the least, and also does not work.

I have also seen it reported on the Internet that familyhomeeveningideas.fasterthanlighthosting.com should work, but does not. I have also tried familyhomeeveningideas.com.fasterthanlighthosting.com, which also fails.

So what's the secret? Anyone know? Documentation needs to be crystal clear in these cases, and it seems it should be a simple matter to dumb-it-down to English, instead of the documented gibberish domain.

If I find something, I'll let you know.
 
You don't really need to learn a pattern of producing name for site preview. Once preview feature is configured on your server (which actually means you have chosen a zone to run temporary names), you only need to click "preview" icon right to a name of a site in "Websites and Domains" tab. Until enabled, the same icon leads to a legacy preview feature, which worked differently.

So did you configure Preview feature?
 
Yes, it is configured. The idea is for customers to preview web sites in an environment where scripts run before the DNS is switched to the server; customers can show the site then to others without giving them control panel access.
 
So, when you open site preview in CP, which URL is formed for the site?

Customers can simply share the URL with others. It can be accessed outside the panel and the URL will not be changed until customer's site / its IP / preview zone are changed on your server.
 
Site unavailable

Thanks for the messages - yes, preview has been enabled but when you click on the 'preview your website in a browser' button in order to get the URL, you get a 'webpage not available message'. The URL it wants seems sensible ie:

MYIPADDRESS:8443/sitepreview/http/customerwebsite.com/?randomHash=67fc0d4991f7e68cc9546ea440d3320a

But it doesn't work. Any further ideas please?

Cheers,
Jeff
 
MYIPADDRESS:8443/sitepreview/http/customerwebsite.com/?randomHash=67fc0d4991f7e68cc9546ea440d3320a

That means your server hasn't enabled new site preview. I think you kept "LImited Preview" selected in "Tools & Settings" > "Website Preview Settings". If you configure it properly and choose the zone to host previews, you will get the desired result.

Regards
 
doesn't on reseller account though

thanks again for the response - it is most definitely enabled and NOT on limited preview on my superuser account - it works fine on the domains I am hosting myself, unfortunately as I said at the beginning of the thread it is the reseller accounts who don't even have the web preview setting in tools/utilities. So yeah, basically it's resellers who can't use this web preview mode and I don't know why.

Again, assistance muchly appreciated! :)
 
Okay, I see now. Sorry for missing the point.
I've just tried it for resellers on my own server (10.4.4) - sites of reseller and sites of customer of reseller have appropriate preview URL like http://customer-of-reseller.com.10-58-239-91.******.com/
It doesn't support branding though - all resellers will have *****.com the same as a server owner.

There must be a reason for your server substituting wrong URL for resellers and keeping correct URL for your own site, but unfortunately I cannot assist with it remotely.
 
Another thing

Well I swapped things around a bit so that now the reseller's "preview in web browser" button does indeed point you to:

http://customer-of-reseller.com.78-129-146-44.MYMAINDOMAIN.com

Which is absolutely fantastic... if it worked... the browser now just says it can't find this site/domain. At least it now looks the same as what you said. Is there anything else that needs adding to get this working correctly?

Thanks again for any help.
 
I had exactly this issue and have spent all day trying to figure it out without success.

In the end I registered a dirt cheap domain name, set an A record to my server IP for it and then on the Plesk panel set up a domain alias from the registered domain to the installed one. Nasty workaround as the site I'm developing is technically "live" during setup but it'll do as time is of the essence.

Good luck with sorting out the issue. :)
 
2 JeffWebbUK1

I think you need to add a wildcard record into your mymaindomain.com zone if it is hosted somewhere else. here is a recommendation from our inline help
If you use this option, add the following DNS record (type A) to the external domain zone: *.<Panel_IP>.external.dom. Here <Panel_IP> is the Panel server IP where dots (.) for IPv4 or colons :)) for IPv6 are replaced with dashes (-). Say, *.192-0-2-12.external.dom. If Panel has more than one registered IP, add a record for each address.


If it is hosted at the same instance of Plesk where you use preview feature, the zone should be configured automatically.
 
Back
Top