word press meetup on january 2015

9
Hosting and WordPress By: Nghia Than Date: January 15, 2015 www.vHost.vn

Upload: nghia-than

Post on 25-Jul-2015

199 views

Category:

Technology


3 download

TRANSCRIPT

Page 1: Word press Meetup on January 2015

Hosting and WordPress

By: Nghia Than

Date: January 15, 2015

www.vHost.vn

Page 2: Word press Meetup on January 2015

Table of content

1. Differentiation of Hosting, VPS, Cloud VPS and Server

2. Secure your VPS/Server

3. Debug your WordPress

Page 3: Word press Meetup on January 2015

Differentiation

�3

Share Hosting VPS / Cloud VPS

Dedicated Server

Page 4: Word press Meetup on January 2015

Differentiation (cont)Share Hosting Traditional VPS Cloud VPS Dedicated

ServerUser Account Most users account Lesser users account The same traditional VPS Only you

Resources Sharing √ √ √

Full control √ √ √

PHP Customize √ (*) √ √ √

Dedicated IP √ √ √

High Availability √

Control Panel √ No (**) No (**)

Upgrade Easy Easy Easy Harder

Page 5: Word press Meetup on January 2015

Differentiation (cont)

Share Hosting Traditional VPS Cloud VPS Dedicated Server

Pros

- Low $$$- No need to pay control panel license and other software like softaculous, cloudlinux…on server- No need to understand about technical

- Ful control on your VPS- Do what you want: install any web server you like, custom any PHP information depend on your application- Resources is guaranteed for VPS

- Ful control on your VPS- Do what you want: install any web server you like, custom any PHP information depend on your application- Resources is guaranteed for VPS- Hardware redundancy

- Resources is dedicated for you- Ful control on your server- Do what you want: install any web server you like, custom any PHP information depend on your application

Cons

- Share resources with others user on server- Security issue like: localhack, ddos attacking…- Limited resources

- Higher $$$ than share hosting- Technical require- License responsibility- Share server resources: cpu, ram, hdd, network…

- Higher $$$ than share hosting- Technical require- License responsibility- Share server resources: cpu, ram, hdd, network…

- Highest $$$- Technical require

Page 6: Word press Meetup on January 2015

Secure your VPS/ServerPort change (SSH, cPanel, DA…)

Disable password authorisation

MySQL: tunnel + socket

SSL encryption

PHP tunning: which mode, disable function, safe_mode, display_error, session variable, remote file includes, file upload…

Deal with virus: ClamAV

Deal with malware: Malware Detect

Page 7: Word press Meetup on January 2015

Secure your VPS/Server (cont)

PHP Comparision

PHP disable_function: proc_open, show_source, popen, disk_free_space, diskfreespace, leak, system, shell_exec, passthru, allow_url_fopen, mail

Page 8: Word press Meetup on January 2015

Debug WordPressWordPress debug option

Error log

• Move server check list

• Webserver log (plugin, themes, php code, htaccess, file/folder permission, internal 500, update WordPress…)

• Application log (PHP, WordPress…)

• Can not send email

Page 9: Word press Meetup on January 2015

Thank you !!!

Q&A