How to setup a subdomain in your nginx server
Tech-Today

How to setup a subdomain in your nginx server


Lately I've created a sub-domain for one of my website. I hope you follow this blog on how to setup your nginx wordpress site. In the same server where I host my maindomain.com, I've added a subdomain.maindomain.com. And here is how:

  1. I created a new folder in /var/www/subdomain where I install a new copy of wordpress. Note that /var/www/html contains my maindomain.
  2. The duplicate the config site in the blog I mentioned above (my-site), so now I have subdomain ni /etc/nginx/sites-available.
  3. Make the following modifications (first 2 lines):
    listen 80;
    listen [::]:80;
  4. Basically, you can't have 2 virtual configurations with default_server marker.
  5. Your sub domain should now be accessible.




- Enable Https On Wordpress In Amazon
This tutorial will help us install Wordpress on Amazon using a Wordpress image provided by Bitnami. We will also enable HTTPS by using an Amazon's elastic load balancer and a WordPress plugin. Steps Create an EC2 instance and install this Wordpress...

- How To Handle An Xmlrcp Wordpress Attack On Nginx Server
I'm not really a system administrator and these steps are just based on my personal experience in securing our own wordpress websites. Lately there has been a lot of attacks on wordpress sites (since it's a popular framework) specially on windows...

- How To Migrate Your Godaddy Web Hosting To Digitalocean
Lately I've been reading some good articles about DigitalOcean as a cheap VPS option in online hosting and so I decided to try and subscribe to one. Since my wordpress website hosting is already expiring I decided to moved the hosting to DigitalOcean...

- Setup Wordpress In A Sub-domain In Godaddy's Windows Hosting
This configuration is for windows only. Configuration: For example you have domain anime.com that is powered by wordpress, you set up permalinks to use postname so post will be accessible at http://anime.com/postname. The problem is when you create a...

- How To Configure Wildfly 8 Clustering And Deploying Picketlink Enabled War Application To Test The Session.
In this tutorial we will try to configure wildfly cluster and test it by deploying a picketlink enabled war application where a user can login and the session shared between the virtual server. Before we start, make sure that you read these links: https://docs.jboss.org/author/display/AS71/AS7+Cluster+Howto...



Tech-Today








.