How to Configure Wowonder Using Nginx Server
In this article I'm going to show you how to configure/install wowonder script running nginx server.
What is wowonder
What is Wowonder is a PHP Social Network Script, and It is the best way to start your own social network website. Also, It is fast, secure, and gets regularly updated. WoWonder is user-friendly, responsive, compatible with all devices and feature-rich script. It’s easy to customize, fast and can handle 1 Million users. WoWonder uses latest technology bootstrap, CSS 3, HTML5, Jquery, PHP.
What is nginx
NGINX is a high‑performance, highly scalable, highly available web server, reverse proxy server, and web accelerator (combining the features of an HTTP load balancer, content cache, and more). NGINX offers a highly scalable architecture that is very different from that of Apache (and many other open source and commercial products in the same category). NGINX has a modular, event‑driven, asynchronous, single-threaded architecture that scales extremely well on generic server hardware and across multi-processor systems. NGINX uses all of the underlying power of modern operating systems like Linux to optimize the usage of memory, CPU, and network, and extract the maximum performance out of a physical or virtual server. The end result is that NGINX can often serve at least 10x more (and often 100–1000x more) requests per server compared to Apache – that means more connected users per server, better bandwidth utilization, less CPU and RAM consumed, and a greener environment too!
Our issue and why are we here
As you already know by now. we want to use nginx as our server software because it has speed and flexibility. it can be configured as a proxy server, caching server. or if you are using nginx for your other sites and it is already running on port 80 and 443 and you want to run your site on same server.
and as i know if you are not an expert. like me then most of you cant easily configure wowonder php script in nginx server because this script need rewrite rules for almost every link. and if you just want to wowonder script using apache then this is not an issue because this script comes with .htaccess file and the rewrite rules works just fine with apache. but if your website is gaining traffic more-and-more. and users visiting your site. then your site will give up on you. because apache use more ram and resource of your systems and still provides less speed for your website.
And also. So far I still cant figure out how to directly configure wowonder php script rewrite rules in Nginx and this is why we are using apache and we will use Nginx server software as an revers proxy server and if you don't know what is revers proxy server then I recommend you to read this for complete information about reverse proxy servers. and don't worry if you don't know much about reverse proxy server. I'm telling you. configuring nginx as a reverse proxy is more beneficial.
Don't get me wrong but I'm not an expert on anything and I'm not claiming to be anything and I'm just sharing my experience here in this blog. so please if you disagree on anything written in this blog. then you can write suggest and comment blow or you can massage on my profile here for quick response from me. So lets Start.
How to configure wowonder in nginx
1st please start by creating vps server or if you are using any type of server based on Linux. and now if you are ready to follow the steps you can read more below.
- Install apache by running command {apt install apache2}.
- And now you have to change default port of your apache. by editing ports.conf file in location /etc/apache2/ports.conf again this file location depends on what distro of Linux you are using. look for yourself.
- Now open & edit this file by vim or any editing software of your choice and comment every line in this file. and leave only 1 line which starts with listen and you can see 80 written in-front of it. now you need to change it to any number of your choice. i suggest port 8080. and after that save. and exit from this file.
- Now we have to create virtual host file example.com.conf file in location /etc/apache2/sites-available/example.com.conf for our wowonder script. I'm providing code you can directly past it to example.com.conf file. see below.
Please Comment below help more people or share more better ways to fix this problem. you can also directly contact me if you want.
Thank You.
For reading this blog.
Source of Information : - https://droidt99.com/read-blog/18503_how-to-install-wowonder-script-in-nginx-proxy.html
Comments
Post a Comment