- If you have CWPpro licence, first change IP to new one at https://support.centos-webpanel.com/clientarea.php and then follow following steps
- Create/update reverse DNS in your VPS provider. That would be your new hostname.
- Create nameservers with new IP in Domain registrar.
- Go to CWP Settings and then IP Manager and add the new IP address with Netmask and Gateway. Note that you have to configure the VPS with new IP and test it accordingly.
- Go to Server Settings and then Change Hostname and replace New Hostname with rDNS/PTR records of your Default/New IP. Confirm that everything here looks ok.
- Go to User Accounts and then List Accounts and you need to go to “Edit Account” section of all accounts on your server and replace IP field with Default/New IP Address (you also must check the “Update DNS Zone” checkbox). Test one account first and if it works then go for all accounts. SSL may cause but will be resolved automatically. You may have to use VPN to test.
- Go to CWP Settings and then Edit Settings and replace Shared IP field with Default/New IP Address. Check the “Rebuild vHosts” check box and save changes.
- Go to DNS Functions and then Edit Nameservers IPs and replace all NS1 and NS2 IPs with Default/New IP Address.
- After completing all of the above, rebuild WebServer in order to prevent future issues , So you need to Go to Apache Settings and then Apache Re-Build and recompile your apache webserver
- If you were using Varnish Cache or Nginx Reverse Proxy you must have to Go to Apache Settings and then Select WebServers and select Default Web Servers which you were using and Click on “Save & Rebuild Configuration“.
- if you were using MailServer you should Rebuild your MailServer. Go to Email and then MailServer Manager and Rebuilt Mail Server. If you need to restart all mail server services (Postfix, ClamAV, Amavis, Spamassassin, Dovecot) you can do that here.
- Reboot your server
- Enjoy!
OJS Email Sending Problem
- There was a problem sending an email message. Please try again later, or contact your system administrator.
At first, check whether Principal Contact details were added in Journal. Then go for Step One.
Step One
Turn on SMTP in config.php
[email] ; Use SMTP for sending mail instead of mail() smtp = On ; SMTP server settings smtp_server = mail.example.com smtp_port = 25 ; Enable SMTP authentication ; Supported smtp_auth: ssl, tls (see PHPMailer SMTPSecure) smtp_auth = ssl smtp_username = username smtp_password = password ;
You contact hosting provider to get the SMTP details
NB: If the above setting does not work anyway, then go for adding envelop sender.
Step Two
Allow envelop sender
; Allow envelope sender to be specified ; (may not be possible with some server configurations) allow_envelope_sender = On ; Default envelope sender to use if none is specified elsewhere default_envelope_sender = my_address@my_host.com ; Force the default envelope sender (if present) ; This is useful if setting up a site-wide no-reply address ; The reply-to field will be set with the reply-to or from address. force_default_envelope_sender = On
Make sure to match the domain in your default_envelope_sender with the domain of OJS installation. If it doesn’t match this increases the spam rating.
Set up custom domain for Google Sites
- Go to Settings.
Click Custom domains.
Click Start setup.
Use a domain you own that is registered elsewhere
Click Use a domain from a third party.
Click Next.
Enter your domain. - If you are prompted to verify ownership, skip the remaining steps in this section and follow the instructions later in this page. Then try again.
- Click Next.
Follow the on-screen instructions to connect to a third-party domain registrar.
These steps may be different depending on your registrar. For more help, go to your domain registrar’s help resources.
Click Done.
Postfix Mail Queue
Postfix Mail Queue Management
To view the number of emails in the Postfix mail queue
mailq
Postfix delete mail queue: postsuper command
To delete all emails in the queue
postsuper -d ALL
To remove all mails in the deferred queue
postsuper -d ALL deferred
To remove a particular mail from the queue
postsuper -d mail_id
To remove messages from a particular domain.
mailq | grep xdomain.com | awk {'print $1'} | xargs -I{} postsuper -d {}
To remove all mails from a particular mail id
mailq | tail +2 | awk 'BEGIN { RS = "" } / testmail@xdomain\.com$/ { print $1 }' | tr -d '*!' | postsuper -d -
To remove all mails which have testmail@xdomain.com in the entire mail.
for id in `postqueue -p|grep '^[A-Z0-9]'|cut -f1 -d' '|sed 's/*//g'`; do postcat -q $id | grep testmail@domain.com && postsuper -d $id; done
To remove all mails which have a particular pattern like “.de”
for id in `postqueue -p|grep '^[A-Z0-9]'|cut -f1 -d' '|sed 's/*//g'`; do postcat -q $id | grep “.de” && postsuper -d $id; done
Postfix queue structure
/var/spool/postfix/maildrop /var/spool/postfix/hold /var/spool/postfix/incoming /var/spool/postfix/active /var/spool/postfix/deferred /var/spool/postfix/corrupt
Display the list of Queued mails , deferred mails, and Pending mails
postqueue -p
To Display the mail header and contents
postcat -q “Queue ID”
To check the total number of mails in the queue
postqueue -p | grep -c "^[A-Z0-9]"
To attempt to send one particular mail
postqueue -i “Queue ID”
Force mails on Postfix
To reattempt delivery of all mails in the queue
postqueue -f
HTTP 503 Service Unavailable Error
- What’s the HTTP 503 Service Unavailable Error?
- 503 Service Unavailable
- 503 Service Temporarily Unavailable
- HTTP Server Error 503
- HTTP Error 503
- Error 503 Service Unavailable
- The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
- Service unavailable 503 wordpress
Find some fixes below:
1. Temporarily Deactivate all WordPress Plugins: Rename the plugin folder and create an empty plugin folder.
2. Deactivate the WordPress Theme: Deactivate current Theme. Switch to default theme. You can edit database.
Click into the “wp_options” table, then click on the “Search” tab. You will want to search under the “option_name” for template.
3. Temporarily Disable Content Delivery Network (CDN)
4. Limit WordPress ‘Heartbeat’ API by adding following function to functions.php of your action theme.
add_action( 'init', 'stop_heartbeat', 1 );
function stop_heartbeat() {
wp_deregister_script('heartbeat');
}
5. Increase Your Server’s Resources
6. Review Your Logs and Enable WP_DEBUG
- « Previous Page
- 1
- …
- 5
- 6
- 7
- 8
- 9
- …
- 18
- Next Page »