Assessment of goals and objectives:
Migrate the domain and hosting from one hosting provider to another provider.
To reach my goal I faced some difficulties they are
- I didn’t know how to migrate public_html folder
- How to migrate database
- How to migrate mail server
So I gathered clear concept how do this.
Identification of activities or areas needing additional effort:
At first I need to know where the domain we are transferring and how many
time it’s needed.
I had planned to transfer the domain into google domain and the time it will be taken
30 mints. But unfortunately I transferred the domain into another company
so I needed more time to complete. So it’s very important where you
transferring and budget time.
Identification of effective activities or strategies:
- Plan the whole process.
- Budget time.
- Don’t mistake to create a cpanel account
- Test the mail server.
The Problem which I faced:
When I transferred the domain my mail server was not working. All
mail are bounced back.
Points to be noted before domain migration:
1. You shouldn’t longer your migration process.
2. You should have clear concept where your domain and hosting exist and where you want to
Steps for hosting migration from one cpanel to another cpanel:
- Create an account according to previous cpanel account name.
- Check old hosting information
- Goto old Cpanel file manager compress the public_html and Download it.
- If you have another folder which you have to migrate just compress it download it.
- For database migration goto old cpanel click backupwizard click backup and click my sql database
- Download all database and goto new cpanel goto backupwizard and restore the database
- For mail server migration goto old cpanel and goto file manager and compress mail and etc folder and download it.
- Now go new cpanel and goto file manager and delete the mail and etc folder and upload mail and etc from older cpanel which you have downloaded.
- Now check the mail
- [warning] If your older and new cpanel account name are not same then you mail account will not be migrated
- Check mx record before domain transfer if its not created goto dns zone editor and add mx record .
Steps for domain migration from one provider to another:
1. First check old domain provider details.
2. Select where you want to transfer your domain and check how many days it needs
3 . You may contact with your service provider to know about how long it takes to transfer domain.
4. First unlock the domain from where it is transferred
5. Goto where you want to transfer your domain it may be godaddy or inmotion or a2 hosting
and go to transfer domain and give the authorization code
6. Now pay the domain transfer charge
7. When domain transfer will complete then add nameserver .
8. Now your old cpanel no longer exist
9. Check your mail server and add mx record if it’s not working contact your service provider.
Hello everyone!! If your company maintains API for their products and you are a person who is responsible for testing the API endpoints then this blog is for you. This blog will be explaining how to get started with API testing using Postman. First we need to know a bit about API and Postman.
What is API?
API stands for Application Programming Interface.Its a set of blocks of code which are connected with different protocols to communicate with each other to make a connection between the Database and the GUI which makes a successful software.
There will be several endpoints which will access data from the database. The endpoints should be secured to make them fetch the right data for the right user. This is a tricky part for API. If any endpoint returns wrong data to the end users and the wrong data is something that end should never get access to, that can be a mess! So its really important to make it work correctly and tested properly.
Get started with API testing with Postman
To get started with API testing first you will need a tool. Postman is a good tool for this job. Download postman from here and install it to your machine. After the installation you will be asked to sign in. Use your google account or just register to postman. And you are ready to start the testing.
This is a view from postman.
1 –> Select the request type
2 –> Insert the request URL of your API endpoint
3 –> Its optional. If your API endpoint have parameters, add them here
Once you are done with these 3 points add value to header and body. Then hit Send button and the response will be seen here in the Response box. Check out the desired responses. If wrong/error response then the endpoint needs to be fixed.
This is how you work manually. To save your time its important to make your tests automated. For this its important to have all the endpoints available and documented properly. Make a Collection with the endpoints and sort them sequentially.
Now how to sort endpoints to a collection? Lets consider a login scenario. If you try to login to your mail, Postman generates a token with your username and password. With the token you can check your mails. there will be one endpoint to generate token with your login information and the other endpoint will use the token to fetch your mails to you. So the login endpoint must be the first one and then the endpoint which fetches the mails will be sorted next to it.
How do you make it automated? Here you will need to set up Environment for your tests.
Lets say you have generated a token with your login information:
And you will be using this token to check your mails with another endpoint. So what you do, you copy your token paste to the header of the next endpoint. This is the manual style. To make it automated you have to create an environment variable through Test Scripts:
Then the token gets saved in your environment. Now each time you need the token to check your mails and visit your profile you just call the variable with your endpoint and you get the response.
Once you complete setting up your environment save it for the tests. Now go to the collection runner. There select a collection and corresponding environment. Click on Run Collection and the responses will be shown in the box at right side:
Once its done the result will be saved automatically and the result can be imported for analysis. if any endpoint fails to fetch the correct information or gives any error response that result is marked as red and the successful one marked as green.
This blog will show how to install Ubuntu server on your machine and configure static network and finally how to install OpenSSH on your machine. This blog is divided into three parts:
1.Install Ubuntu server
Ubuntu server installation:
-You must have at least 2GB of free storage space.
-You must have either a DVD or a USB flash drive containing the version of Ubuntu Server you want to install.
Boot from DVD:
-Insert DVD in DVD drive should take you to the installation.
Boot from USB flash drive:
-Go to https://www.ubuntu.com/download/server to download latest Ubuntu server.
-Download Ubuntu server.
-You can use Rufus to make your USB flash drive bootable. (https://rufus.akeo.ie/)
-Select your language:
-Select ‘Install Ubuntu Server’ on the next menu:
-Select your keyboard layout:
-Type your desired hostname. In terminal it will show username@hostname:~$
-Select your timezone and location:
-Select partition disk option.The simplest one is the, ‘Guided – use entire disk and set up LVM’.But you can do it manually, if you are installing alongside another operating system:
-For configuring tasksel choose ‘No automatic update’:
-Setup your username and password:
-Select whether you want to encrypt the hard drive or not. Selecting no is recommended.
-If you are using a proxy server, enter the details or leave it as blank:
-Select the softwares you want to install on your server. Press the space bar to select software, when finished press enter to continue. You can continue without installing any software and install it later if you wish:
-Ubuntu Server will now be installed. When complete, one final question asks for permission to install the GRUB boot loader. You should answer ‘Yes’:
-Congratulations! Installation is completed. You can now remove your DVD or USB flash drive:
-Restart your machine and begin enjoying Ubuntu Server.
-Login to your terminal and type ifconfig
-Find your network interface card. Here red signed part is network interface card:
-To change ip address type sudo nano /etc/network/interfaces & edit this file and save:
-Restart your network by typing sudo ifdown eno16777736 & then type sudo ifup eno16777736
-If you want to check network state, you can use sudo ethtool eno16777736
-To install the OpenSSH client type: sudo apt install openssh-client
-To install the OpenSSH server type: sudo apt install openssh-server
Under the research project, Microsoft has built datacenter under the sea water. It will naturally maintain server temperate. Also the ocean current can produce enough power by rotating turbine to run the data center. This turbine will be ship in the next phase of research. One of the interesting idea behind this project is that, most of the people live behind the sea, so it will give speed in data access. The first time launch of the datacenter was successful and the datacenter was running 75 days under the water.
The project running with the name Natick.