NS1.com Free DNS Hosting supports AXFR , Secondary DNS and free MONITORING

Choosing a reliable DNS hosting provider is critical because it can affect everything from the redundancy of your website, speed, and even security.Howsvps recommend using 2 different DNS providers (primary and secondary) to ensure your website is fully redundant.

Most of big domain registrar companies like GoDaddy, NameCheap, Name, etc. provide free DNS hosting. However, using third-party DNS servers has its own advantage. They are more reliable, redundant and mostly have several servers located around the globe.

NS1.com is a data driven DNS provider with speeds faster than many other top-tier providers,founded by a team of hardcore infrastructure geeks.Launched in 2013, NS1 has been providing DNS services to Imgur, Yelp, Max CDN, OpenX, Collective and imgIX.

 

More Free DNS Hosting you can see :

  1. DNSPOD Free DNS services-Unlimited Domain Names,Record And DNS defense attack

What’s NS1.com Free DNS Hosting?

NS1’s cloud-based Managed DNS solution delivers the capabilities and speed to improve application performance and drive your business further, faster.NS1’s Free plan – up to 500 thousand queries and 50 records,and supports AXFR and Secondary DNS.

 

How to Create a NS1.com account?

1.NS1.com :

Go to website:https://ns1.com/

2.Creating a new account with NS1 is quick and easy.Click’Free Trial ’,and Set Up Username ,Email .

 

3.Sign up with NS1.com Successully .

 

4.To begin, log in to the NS1 customer portal,you can see Dashboard ,Zones,Monitors.

 

NS1.com CREATING A ZONE

1.Navigate over to the Zones section of the NS1 portal, and click “Zones “.

 

2.There are three methods to add zone .Manual setup:Create an empty zone, add your own records .Zone file import:Import a BIND-compatible zone file .Secondary zone:Configure NS1 as secondary DNS.

 

3.Enter your domain name. If necessary,you can change :SOA TTL (seconds) ,Refresh (seconds) ,Retry (seconds) .

 

4.A new zone will be created and it will be populated with an NS record with the appropriate NS1 nameservers: dns1.p06.nsone.net,  dns2.p06.nsone.net,  dns3.p06.nsone.net,  dns4.p06.nsone.net.

 

5.New Record .Set up the basics of your record here — you can do additional configuration after creating a basic record.Enter a subdomain within the yourname .com zone. You may enter ‘*’ as the first component of the subdomain to create a wildcard record.

 

6.Record Type :A,AAAA,CNAME,DNAME,TXT…

 

7.In ‘Zones’,you can see your domains.

 

NS1.com Free HIGH FREQUENCY MONITORING

1. The NS1.com platform includes built-in, integrated monitoring that gives you control over what assets to monitor.click’Monitors’.

 

2.New Monitoring Job.You could choose Job Type ,Job Name ,Regions (Amsterdam ,Dallas ,New York ,Singapore ,San Jose),Frequency (Minimum: 60 sec).

 

3.Your Monitoring Jobs.Click a monitoring job to edit its basic settings, see more details about the current status of the monitor, and review historical data.

 

Configure NS1.com  as secondary DNS

1.You can use NS1 as a secondary DNS provider, slaved to your primary DNS server.You must configure your primary DNS server to allow AXFR queries fromxfr01.nsone.net (192.241.159.119).

 

2.You will need to manage your records on your primary server, and will only be able to deliver STATIC records.

 

3.Once the zone syncs, all the records you have configured on your primary server will appear in the zone in your NS1 account.If a zone transfer fails, the zone enters a “warning” state.

 

He.net Slaving from NS1

1.In the NS1 Portal, navigate to the zone you want to slave.

 

2.And click to enable Zone Transfer .Please allow zone transfers from slave.dns.he.net (216.218.133.2/2001:470:600::2).

 

3.In He.net ,click ‘Add a new slave’, configure your hosts to use xfr01.nsone.net (192.241.159.119) as the master.

 

4.Slaves for this account. Allow slave.dns.he.net to AXFR.Domains within this section are not editable. He.net pull the zone from NS1.com nameservers specified.

 

Conclusion

IF you are using BIND for your primary nameserver,you might add a snippet like this to your configuration file:

zone "myzone.com" IN {
    // slaved from xfr01.nsone.net
    type slave;
    file "/var/lib/bind/myzone.com.db";
    masters { 192.241.159.119; };
};

One important consideration when slaving from NS1 is that  AXFR does not support slaving any of NS1’s advanced functionality and configuration information, including ALIAS records, Filter Chain configurations, answer metadata, and other details.

Heroku Free PHP Hosting-512MB Ram,custom domains and WordPress on Heroku

Heroku is a cloud platform as a service(PAAS),and has been around since 2007.It is popular due to its support for variety of languages, including Ruby, Python, Java, Node.js, Scala and PHP. Heroku supports an ephemeral filesystem. This means that installing plugins or addons should be done and tested locally.

In this tutorial we will be hosting a WordPress blog on Heroku. It will require the same procedure as involved in setting up PHP application.Heroku will provide you with a URL of the form yourapp.herokuapp.com. You can bring your own domain name and attach it to this URL.

 

For more Free PHP Hosting,you will like:

  1. Openshift Free PHP, MySQLand phpMyAdmin Hosting-512MB RAM and 1GB disk
  2. SourceForge.net project web service-Free Web Hosting with PHP, MySQL,SFTP

How to Deploy WordPress on Heroku With Heroku-WordPress template

Sign up for a free Heroku account. Go to Website:https://www.heroku.com/,and sign up for free.

 

In the Dashboard,Click ’new’to create a new app.

 

Then Set App Name ,Runtime Selection (Your app can run in your choice of region in the Common Runtime).

 

In Personal apps ,You can set Overview ,Resources ,Deploy ,Metrics ,Activity ,Access ,Settings .

 

There are three Deployment methods to Deploy app on Heroku:Heroku Git (Use Heroku Toolbelt),GitHub (Connect to GitHub),Dropbox (Connect to Dropbox).

Deploy using Heroku Git 
Install the Heroku Toolbelt.Download and install the Heroku Toolbelt or learn more about the Heroku Command Line Interface. 
If you haven't already, log in to your Heroku account and follow the prompts to create a new SSH public key.

$ heroku login

Create a new Git repository
Initialize a git repository in a new or existing directory

$ cd my-project/
$ git init
$ heroku git:remote -a howsvps

Deploy your application
Commit your code to the repository and deploy it to Heroku using Git.

$ git add .
$ git commit -am "make it better"
$ git push heroku master
--------------------------------------------------------------------------------

Existing Git repository
For existing repositories, simply add the heroku remote

$ heroku git:remote -a howsvps 

In Setting,You can change App’s Name,Config Variables .

 

You could see app Info:Region \Stack \Framework \Git URL \Repo size \Slug size .

 

Deploy WordPress Build Pack With Heroku-WordPress template

  • 1. https://heroku.com/deploy?template=https://github.com/technomile/Heroku-WordPress
  • 2. https://heroku.com/deploy?template=https://github.com/ellefsen/wordpress-heroku-php/tree/master

Go to Heroku-WordPress and set app name.

 

Config Variables ,You should set up AWS account.Keys marked with * require a value.

 

Deploy WordPress on heroku successfully .

 

You should now be able to finish WordPress setup .

 

Heroku-WordPress template Add-ons include:ClearDB MySQL(Ignite,Free ),SendGrid(Starter,Free ),MemCachier(Developer,Free ),Papertrail(Choklad,Free ),New Relic APM(Wayne,Free).

 

WordPress on Heroku.

 

How to Deploy WordPress on Heroku With Heroku toolbelt

In this tutorial, I’ll be deploying WordPress, that we’ll deploy on Heroku using the toolbelt.

 

Set up Heroku Toolbelt.,PHP,Composer,Git

Before you continue, check that you have the prerequisites installed properly.Firstly you should install the Heroku Toolbelt,which provides you access to the Heroku Command Line Interface (CLI).

 

Heroku Toolbelt support for Mac OS X,windows,debian.On Windows, start the Command Prompt (cmd.exe) or Powershell to access the command shell.Using :heroku login to Connect to Heroku account.

heroku login
Enter your Heroku credentials.
Email: [email protected]
Password:
...

Then type each command below and make sure it displays the version you have installed(How to LNMP:How to use OneinStack to deploy LEMP/LNMP/LAMP on VPS).

#php 
php -v
PHP 7.0.5 (cli) (built: Apr 26 2016 04:39:48) ( NTS )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies

#composer
composer -V
Composer version 1.1-dev (135783299af0281db918c103cceb2b202ae154f2) 2016-07-27 13:14:01

#git 
git --version
git version 2.2.1

Deploy WordPress on Heroku Guide,Run the following from the terminal:

 
git clone [email protected]:bkvirendra/wordpress-heroku.git #Clone the repository as `wordpress-heroku`
cd wordpress-heroku
heroku create
heroku addons:add heroku-postgresql:dev  #add the database add-on to your app
heroku pg:promote HEROKU_POSTGRESQL_COLOR_NAME --app APP_NAME #promote the database attached to the app

Now edit the `wp-config.php` file and update the unique keys:

define('AUTH_KEY',        		 'put your unique phrase here');
define('SECURE_AUTH_KEY',  	'put your unique phrase here');
define('LOGGED_IN_KEY',    		'put your unique phrase here');
define('NONCE_KEY',        		'put your unique phrase here');
define('AUTH_SALT',        		'put your unique phrase here');
define('SECURE_AUTH_SALT', 	'put your unique phrase here');
define('LOGGED_IN_SALT',   	'put your unique phrase here');
define('NONCE_SALT',       		'put your unique phrase here');

Commit the files:

git add .
git commit -m “first wordpress commit”
git push heroku master

Conclusion

Images and files on Heroku are temporarily and deleted when your dyno is restarted.As a workaround you can subscribe to AWS storage and write a bit of code which saves media on AWS instead of Heroku when you upload the file.

 

For instance, when you upload images or install plugins it will store them in the wp-content folder, but heroku is read only, so your data will be deleted every time the server reboots.

Setup AWS – S3 to store images on heroku.

Log In from AWS services dashboard select Identity & Access Management to create a user.Click on Users then click on Create New User in input type nameofapp click create to generate special keys and save the keys keep in safe place.

 {
    "Version": "2016-07-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Action": "s3:*",
            "Resource": [
                "arn:aws:s3:::BUCKETNAME",
                "arn:aws:s3:::BUCKETNAME/*"
            ]
        },
        {
            "Effect": "Allow",
            "Action": "s3:ListAllMyBuckets",
            "Resource": "arn:aws:s3:::*"
        }
      ]
   } 

Going to the app/settings config vars click edit and name and insert keys. example use AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY this will be called from your wp-config.php file in your app so the variables should be named the same.

Setup Sendgrid to send emails from wordpress on heroku.

Your sengrid username password in app/settings config vars.Simply copy those sendgrid vars and navigate to Sendgrid in wordpress dashboard and paste them in the username password inputs there and save.