Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - rcschaff

Pages: [1] 2 3 ... 12
Installation / Re: 2 issues with permalink and ssl
« on: Today at 12:06:14 AM »
thanks for your help!
i followed your suggests and fixed the wordpress issue.

but i can't fix the second one, actually if i try to reinstall it says it's already installed but if i go with my browser it says not secure.

If you click that "Admin Services" buton, and select at least one, it will grab a cert from letsencrypt.

E-Mail / Re: How enable email register?
« on: March 28, 2020, 11:49:27 PM »
Depends on your setup. If postfix/dovecot use Mysql, it's as simple as adding rows to the MySQL databases. If they use plain files, it is a bit harder.

You will also want to add some security, such as recaptha and/or email/sms verification to prevent spam.  If your a developer, you should be able to do this. IF you are not, I recommend Hiring one.

Installation / Re: 2 issues with permalink and ssl
« on: March 28, 2020, 09:36:53 PM »
When you first setup WordPress, you did so from hostname/~user

Log into WordPress admin and update the website url

Change WordPress URL in Admin Dashboard
The first and most common method is to change your WordPress URL directly from within the admin dashboard. On the left-hand side, under “Settings,” click into “General.” You can then update the following:

WordPress Address (URL): The address to reach your blog.
Site Address (URL): The address of your WordPress core files.
Both should match unless you are giving WordPress it’s own directory. Remember that after you click “Save Changes,” your WordPress dashboard is now only accessible via the new URL.

As for your ssl issue.  You have a valid cert for your hostname, but not for your domain.  Make sure you get a cert via autossl in the cwp panel for the domain. (most likely set to self generated atm)

Nginx / Re: Just Nginx run (wordpress permalink 404)
« on: March 28, 2020, 07:35:31 PM »
Not if you set it on a per user/domain instance.

Nginx / Re: Just Nginx run (wordpress permalink 404)
« on: March 28, 2020, 06:58:30 PM »

Hi, i discovered a great website with a great administrator where you can find many guides for CWP and more, also by registering for free on the forum i found the solution to this problem thanks to the courtesy and extreme availability of the administrator.


Good day and good work to all !


I have the same issue but for subdomain sites only.

.htaccess is in the subdomain folder but nothing happens.

Another hand there is a line in nginx subdomain vhost that disable .htaccess but is not present in nginx default .conf

Code: [Select]
location ~* "/\.(htaccess|htpasswd)$" {deny all;return 404;}

How did you do it?

Thanks in advance

nginx does not use .htaccess file.

Follow these Steps
1)  Log into the CLI via SSH
2)  Cd /usr/local/cwpsrv/htdocs/resources/conf/web_servers/vhosts/nginx/php-fpm
3) "   cp default.stpl wordpress.stpl  "  and   "   cp default.tpl  wordpress.tpl     "
4)  edit wordpress.stpl and wordpress.tpl (nano/vi)
5) Find location / {
6)  Immediately under that line add  "     try_files $uri $uri/ /index.php?$args;       "  and save it
7)  Log into CWP Admin panel
8)  Webservers -> Webservrs Domain Config
9)  Select user of domain running wordpress
10) Click Create Configuration
11)  Select NGINX-PHPFPM
12)  Nginx default vhost template type:  Set to PHP-FPM
13)  Nginx default vhost template:   Select Wordpress
14) Select your desired PHP-FPM Version
15) Check box to rebuild Webserver Config for domain.
16) Click Save

Wordpress should now work
 Repear 9-16 for other wordpress installations.

Check WebServer Settings -> Webservers Main Conf to see if there is a default template set that does not exist.

E-Mail / Re: RoundCube Reply error
« on: March 28, 2020, 04:39:25 AM »
Please post the contents of the log files under

/usr/local/cwpsrv/ has the files for 2031 port

Yes.  It will override any custom configurations if you rebuild the vhosts.  However, you can create your own template that will not be overridden.

SSL / Re: SSL not working for ports 2031 and 2083
« on: March 26, 2020, 10:50:00 PM »
LetsEncrypt had to revoke their intermediate certificate due to a flaw in their services.  You need to reissue all certs that were issues more than 2 weeks ago.

E-Mail / Re: Gmail Does Not Send Mail to Hotmail Addresses
« on: March 25, 2020, 12:12:01 AM »
Spf records are important.  So is ip reputation.  Of you have none, Gmail is a pita.  Use mxtools to make sure your not on blacklists, and check root mail (install mutt) to see responses from Gmail's servers.

Your hostname is too long.  Try changing it to s.(domain)

E-Mail / Re: cannot send but can receive mail
« on: March 15, 2020, 04:20:19 AM »
 No route to host
Says otherwise.  As for your "still using port 25". Correct.   Smtp ports really shouldnt be changed   if you prevent relaying your fine.  If you are receiving mail from the outside world, I'm amazed unless you use port redirection which is doing nothing for you.

DNS / Re: Nameserver is not authoritative
« on: March 15, 2020, 04:12:25 AM »
@    86400        IN      SOA

SOA means start of authority

No hostname cert = no cwpsrv start.


Pages: [1] 2 3 ... 12