semanage fcontext -a -t httpd_sys_content_t '/opt/yourdomain(/.*)?'
restorecon -R /opt/yourdomain
semanage fcontext -a -t httpd_sys_rw_content_t '/opt/yourdomain/wp-content(/.*)?'
restorecon -R /opt/yourdomain/wp-content
I run my servers with SELinux running in Enforcing mode, not permissive.
So if it's in enforcing, WordPress will not run correctly. Example, you can't update, and the Add Plugins page gives a connection error (it's because httpd can't write correctly due to selinux enforcing).
Instead of running SELinux in permissive system-wide, you can keep it in Enforcing mode, and issue the following command:
semanage permissive -a httpd_t
The reason I use that one instead of by directory, is because I don't know how to do that... well I do, but I didn't have time yet to see what all directories need to be written to for updating and plugins pages and such to work correctly. I'll add that here some other time when I get a chance to look in to it more.
I only said that for install message you remove it back to enforcing
I recommend OpenCNAM because it is generally cheaper than your carrier CID charges.
If you recall from the VoIP.ms setup, they charge $0.008 per lookup.