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.

Topics - luddite33

Pages: [1]
1. Go WebServer Settings > Select WebServers and select Nginx Only.
2. Go PHP Settings > PHP-FPM Selector and choose PHP-FPM latest version (mine is 7.3)
3. cd /usr/local/cwpsrv/htdocs/resources/conf/web_servers/vhosts/nginx/php-fpm and edit force-https.stpl and default.stpl default.tpl and add into the / block
     location / {
           ......lots of stuff....
           # WordPress permalinks in Nginx
           try_files $uri $uri/ /index.php?$args;
                ......lots of stuff....

4. Go WebServers Settings > WebServers Main Conf and select PHP-FPM, force-https, 7.3, force-https and default. Rebuild all hosts.
5. Go check in /etc/nginx/conf.d/vhosts/ that your domains have the try_files clause.
6. Hit your domain on http and it should re-direct to https. Click a menu item (not home page) and it should bring up the correct page instead of a 404.
7. Permalinks now work. /page/
8. If you update CWP version then you have to do all this again. I can do it in a couple of minutes now after updating.

E-Mail / How-to setup email with external DNS
« on: July 27, 2019, 11:51:00 AM »
I am just adding this here for my own knowledge and to help others.

1. Go to Email > Email Accounts and click "Add New Domain Email", select the domain and create your email address.
This will enable roundcube and you will be able to send emails but you won't be able to receive emails yet.
2. Go to Email > Mailserver Manager and check the top 3 boxes and then click "Rebuild Mail Server"
AntiSpam/AntiVirus (recommended):   
rDNS Check (recommended):   
Install DKIM & SPF (recommended):   
3. Go to Email > DKIM Manager. Make sure your domain has 4 green ticks in TrustedHosts, KeyTable, v=DKIM1,v=spf1
If you don't then complete the form for "Add DKIM & SPF". Then go to Email > Mailserver Manager and repeat the "Rebuild Mail Server" and restart all mail services. Come back to this page and you should now see all 4 green ticks.
4. Now we have to create MX records on your external DNS. I use Godaddy. Edit your DNS.
5. Add MX records for your server. You have to use the server name. In my case i found it "Email > rDNS Checker" and you will see the server dns. Mine was So I copy that to MX and set priority to 10 and repeat with priority 20
6. Add DKIM to DNS. Go to Email > DKIM Manager and click your domain "Edit File" and you will see the DKIM and SPF records to add to Godaddy.
7. Add TXT record host="_dmarc" and TXT="v=DMARC1; p=none"
8. Add TXT record host="" and TXT="v=spf1 mx ~all" <- this will tell your DNS to use your MX records for spf
9. Create cnames to @ for SMTP, IMAP, WEBMAIL and MAIL.
10. Go to and follow directions. I ended up with a 9.8 out of 10 which is as good as it gets.
11. Send an email from any other account to your new email.
12. Now go to roundcube and login. (SSL isn't enabled but im working on that). You should see your email.

Pages: [1]