$schemamarkup = get_post_meta(get_the_ID(), 'schemamarkup', true); if(!empty($schemamarkup)) { echo $schemamarkup; }

Linux Ubuntu Nginx Web Server How to SetUp Virtual Host Easy Guide

July 11, 2013 | By Duchateaux.

This Short Guide shows you Step-by-Step How to SetUp a Virtual Host for NGINX Web Server on Ubuntu Linux Distro.

Finally, to the article Bottom there is a Link to Guides for Further NGINX Documentation and Examples.

Linux GNOME Penguin NGINX
  1. Open Terminal Window
    (Press “Enter” to Execute Commands)

    Cmd and Search “term”

    Ubuntu Linux Raring Open Terminal

    In case first see: Terminal QuickStart Guide.

  2. Edit the System Hosts Configuration File

    sudo su
    nano /etc/hosts

    Add a Line Containing your Server Name:

    127.0.0.1myservername.com

    Ctrl+x to Save & Exit.

  3. Edit the Default NGINX Configuration File

    nano /etc
    ginx/sites-enabled/default

    Add your Server Configuration:

    server {
        listen 80;
        server_name myservername.com alias www.myservername.com;
        root /data/www;
        index index.html index.htm;

        location /{
            try_files $uri $uri/=404;
        }
    }

  4. Reload NGINX Web Server:

    sudo su -c "nginx -s reload"
  5. Access your New Server on Browser:

    http://myservername.com

    If Also Apache is Running on Port 80 then Possibly Stop It!

  6. To Further NGINX Development Examples Go

    Nginx Documentation
  7. How to Install Google-Chrome Web Browser on Ubuntu

    Installing Chrome for Ubuntu