EngineeringWay

Shaping the great minds.

Showing posts with label Web technology and Hosting. Show all posts
Showing posts with label Web technology and Hosting. Show all posts

Saturday, 3 June 2017

Send data to server database from Android Application. | server side connectivity in android | PHP | MySQL | Android | Free hosting for android

6/03/2017 10:03:00 pm
First of all, create account on www.hostinger.in. That provides free sql server database and phpMyAdmin. then after create new hosting account using your cpanel. after that click on "Manage" link, under the Hosting account tab. by clicking on that you will redirect to admin panel of your hosting plan. now on that page, you will find out MySQL database field under database category. click on that and create new database. now go to the admin panel of your hosting plan and click on phpMyAdmin field under database category and enter into phpMyAdmin.


www.hostinger.in

In PHP MyAdmin click on create new table and create database table.

Now download fileZilla from https://filezilla-project.org. and run fileZilla application. and do 'quick connect' using host,username and password. After that open notepad and do copy-paste code given in below link.

you will get information about servername, username, password and dbname from your dashboard of admin panel. after that save that notepad document as .php file and upload it on public_html folder from filezilla(Drag and drop).


FileZilla
Now server side work is done. you can test service by putting hosting IP on URL tab of browser.
now create new android app on android studio to send data on server. copy code given in below link.

and paste it on java file of android activity from where you want to send the data. 
i.e mainactivity.java. just modify link on httppost.

done.

phpMyAdmin
Android App

Sunday, 19 March 2017

OpenStack installation only in 7 steps in Ubuntu 16.04 LTS using Devstack. - IAAS, Private Cloud, Devstack

3/19/2017 01:24:00 am
  • Openstack is a free and open-source software platform for cloud computing, mostly deployed as an infrastructure-as-a-service (IaaS).

  • The goals of the Openstack initiative are to support interoperability between cloud services and allow businesses to build Amazon-like cloud services in their own data centers.


  • It is often referred to in the media as "the Linux of the Cloud" and is compared to Eucalyptus and the Apache CloudStack project. Let's come to the point, How to install Openstack on ubuntu 16.04 LTS or on any other ubuntu version.

Steps To install OpenStack.

Install ubuntu with at least 2GB RAM and 100GB harddisk. And after installation open terminal by using ctrl + a/t  + T

Step 1: Now in terminal type ' sudo -i ' command, it will leads you to the root. now type command ' visudo '. it will open sudoers.tmp file. in that after 
' %sudo ALL=(ALL:ALL) ALL ' line write ' stack ALL=(ALL) ALL ' and save it by ctrl + x.



Step 2: now after making change on sudoers.tmp file, add new user in system by typing command ' add stack '.


Step 3: After creating user named stack. shut down the system and login into system as stack user. after that open terminal again and type command ' sudo apt-get install git ' it will install package installer into your system.


Step 4: After setting up git. fire command 
' git clone https://git.openstack.org/openstack-dev/devstack ' It will clone into devstack and download all the required package for openstack into your system.


Step 5: after that type command ' cd devstack' then ' cd samples '  and  ' cp local.conf ../ '. it will copy local.conf file at root folder  devstack. now fire ' cd ../ ' command. after that type ' nano local.conf ' command. it will open local.conf file into editor.

 

Step 6: In that file just define your local IP address like as shown in below image. and save the file by ctrl + x.


Step 7: Now fire command ' ./stack.sh '. it will start openstack installation. It will take up to 2 hrs. depends on internet connection speed.  after installation finish you can access openstack services by IP address. just write your IP address on url box and enjoy. the default ID is 'admin' and 'demo' and password is 'nomoresecret'.



Sunday, 12 March 2017

How to host your website for free and upload your SQL server database to server - godaddy, bigrock, somee

3/12/2017 12:46:00 am
What is web hosting?

Web hosting is place where you can store your website stuff like html, config or aspx file and also your website database.the term “web hosting” refers to the company that rent out their computer/servers to store your website (hence the word, host) and providing Internet connectivity so that other computers can access to the files on your website. so let's see how to do it for free.

How to do hosting for free?

As per your requirement hosting provider charge for the hosting service but some service provider provide service for free up to some limited amount of data. www.somee.com provides free hosting up to 150mb of data and support ASP, ASP.Net, MS Access, MS SQL database. Single third level domain. and Single addon web domain.

Steps:- 
    
     1.Create account at somee.com and order your free hosting plan. 

Just visit https://somee.com/FreeAspNetHosting.aspx and at bottom of  the page you will find out 'order now' option click on that and create account and order free plan by clicking on checkout button from Shopping cart page.


2. Define domain and Create website.

After checkout, in next window, you have to define your site domain name, site title and zone name as well as server OS. then click on create website. it will create one empty site. and that you can see under 'Websites' category. which resides under 'managed products' of 'User' category.

  

3. Upload your website with config file

Locate 'File manager' under your created website name, here you can upload every file of your project except your database file. that is .mdf file and resides in app_Data folder if you are using asp.net. and also you can create folder if your project is divided into folders by clicking on 'new dir'.


To upload file click on 'upload' option and select files and click on Upload files.

4. Upload Database file.

To Create database go to User -> managed product ->ms sql ->Databases and in that click on 'create'.

 

After creating database, to upload your already created db file, select your newly created DB and go to the bottom of the page. you will find out attach Database link. click on that and upload database file that is .mdf file and log file that is .ldf file and click on upload.


5. Reset Connection string.

Click on database that you have just created and copy the connection string that is define in that page. now go to your config file of project that is under 'File manager' and click on edit text link of config file. now search for connectionString tag and paste new connection string in that. remove the old one.


Done. now you can run your project by domain name. and store data directly at server storage.

Saturday, 4 March 2017

Create and deploy Application using Google App Engine. -PAAS and IAAS

3/04/2017 03:28:00 am
Google App Engine is a cloud computing platform for developing and hosting web applications in Google-managed data centers. Applications are sandboxed and run across multiple servers. Google app engine provide platform as a service and infrastructure as a service for developers. just create application in eclipse and deploy it on app engine.
so let's get started!

Requirements:
  1. JDK.
  2. Eclipse 3.7 + Google Plugin for Eclipse.
  3. Google App Engine Java SDK 1.6.3.1.
  4. Install Eclipse
Steps:
1. Install google plugins for Eclipse.


2. Create new application project in eclipse.
In toolbox of eclipse, click on google icon or GDT pulldown and select 'new web application project.
now deselect Use GWT checkbox under Google sdks field. and link your GAE Java SDK via the “configure SDK” link.


 now click on finish.

3. Hello World
Check the project directory, nothing is new in it. it is same as android studio and normal java web project structure. you can do java coding in java file under 'src' folder, that is highlighted in below picture. 



The new part is appengine-web.xml file which is under 'war' folder. Google App Engine need this to run and deploy the application.




4. Run Application locally.
To run application locally, right click on project and go to run as option and select web application. now open browser and open http://localhost:8888/  here you can see all your projects. click on project name to see servlet of it.



5. Deploy it to Google app engine
Register an account on https://appengine.google.com/, and create an application ID for your web application.In this demonstration, I created an application ID, named “helloworld-160509”, and put it in appengine-web.xml


Now click on Click on GAE deploy button on the toolbar.
Sign in with your Google account and click on the Deploy button.If everything is fine, the hello world web application will be deployed and provide you the URL. to Access application like http://helloworld-160509.appspot.com/

Sunday, 26 February 2017

Mobile app analytics, website analytics- learn how your application is used and Measure Your App Campaigns.

2/26/2017 01:50:00 am
Google Analytics is a free Web analytics service provider that provides statistics and basic analytical tools for search engine optimization (SEO) and marketing purposes. The service is available to anyone with a Google account. Google launched the service in November 2005 after acquiring Urchin. It's most widely used web analytics service on the Internet.

Google Analytics also offered three additional versions:

  • Google Analytics 360.
  • Google Analytics Premium.
  • Google Analytics for Mobile Apps.

Google Analytics features include:

  • Data visualization tools, That includes  dashboard, scorecards and motion charts, which display changes in data over time.
  • Custom reports, That use to view customize data accordingly user's requirement.
  • Email-based sharing and communication.
  • Integration with other Google products, such as AdWords, search console and Website Optimizer.

Few Awesome things you can do with google Analytics:

  • See your most important analytics data first.

you can create multiple dashboards, each containing multiple widgets. To create a new dashboard, simply go under Dashboards in the menu bar of your analytics and then select New Dashboard. Then add your widgets. You can choose from widgets that show you one particular metric, a pie chart comparing metrics, a time line of one to two metrics, or a table showing a dimension with two specific metrics. Each type of widget can also be filtered. the fantastic thing you can do is, you also can view data by date vise. you can change the date range and see all of your widgets update with that date range’s data.

  • Find out which Ad campaigns is giving you more traffic.

To create an advanced segment, click on the Audience and then custom dropdown and then the Custom Variables. now select custom Variable key and click on Secondary dimension dropdown and filter data according to your requirement. 

Saturday, 28 January 2017

Adsense Tricks and SEO - Adsense approval in just few days and google rank index improvement

1/28/2017 01:30:00 am
An advertising placement service by Google is Adsense is very popular now a days. Adsense designed for publishers who want to publish targeted text, video or picture advertisement on website or blog and earn money when site visitor view or click the ads. Earning depends on Clickthrough rate(CTR), Cost-per-click (CPC), Cost-per-thousand (CPM), and Revenue perthousand impressions (RPM).
Now the question is that why Adsense is so popular? There are so many advertisements publishing company who is providing same service but still most of people is preferring Adsense. So the reason behind that is

1.   It is very easy to setup, once you got approval by Adsense . All you need to do is add a code to your website theme file and that’s it.

2.  Adsense means recollection, once you have Active Adsense account means that you have authorized blog or website. However, this may not be possible in all the case.

3.  Well pleased payout, the major problem you will face with small advertising companies is the issue of payment. You might get obstacle to receive your payment and in other hand, Adsense is very crystalline and transparent. And is also offer very well amount on CTR, CPC, and CPM.


Blogger SEO and Adsense

Saturday, 21 January 2017

How to Add live chat customer support in your website.

1/21/2017 02:46:00 am
To increase selling of your products, customer satisfaction is foremost ingredient. And to effectuate this objective you have to provide key services and customer support to your customers. now the question is how? 
Live chat for website

Friday, 13 January 2017

What is Meta tags and Keywords used for SEO in blogger and HTML? - web technology, SEO

1/13/2017 01:59:00 am
Meta tegs and keywords are very useful terms for SEO and it helps so much in SEO. To find your site’s rank better in search engine, you have to add meta tags or keywords in every page of the website. But when you want to put keywords in every blogger posts, you can’t because there is only meta description place in blogger. There you cannot find keywords adding space.So if you want to add meta tags or keywords also, you have to add some codes on your template. Meta tags are also as important as meta description. Meta tags help you to increase healthy and better traffic.

How to add meta tags in each blog post?

It is very important to take backup of your template before doing changes on it. so take backup of it.
now,
Step 1: Login into your blogger.
Step 2: Choose your any blog.
Step 3: Go to template and select edit html.
Step 4: press ctrl+F key and search for
Step 5: then paste the below codes below the above code.

Step 6: now paste above code every time when you add new post!

Thursday, 12 January 2017

How to use reddit effectively for SEO?

1/12/2017 12:57:00 am
Reddit is a social news aggregation, web content rating, and discussion website. it's A Social news and media aggregation type of site that is founded on June 23, 2005.  Reddit's registered User can submit content, such as text posts or direct links. Registered users can then vote submissions up or down to organize the posts and determine their position on the site's pages. The submissions with the most positive votes appear on the front page or the top of a category. Content entries are organized by areas of interest called "subreddits". The subreddit topics include news, science, gaming, movies,Technology, music, books, fitness, food, and image-sharing, among many others.

As of 2016, Reddit had 540 million monthly visitors (234 million unique users), ranking #11 most visited web-site in US and in the world it's rank was #25. Reddit was founded by University of Virginia Student Steve Huffman and Alexis Ohanian in 2005,They was roommates. As of August 2012, Reddit operates as an independent entity, although Advance is still its largest shareholder.Reddit is based in San Francisco, California. In October 2014, Reddit raised $50 million in a funding round led by Sam Altman and also including Marc AndreessenPeter ThielRon ConwaySnoop Dogg, and Jared Leto.

Surprisingly you can use reddit as a SEO & Content Marketing Research.

It all starts with the concept of subreddits. Reddit is made up of “subreddits” – which are small communities organized around a topic where subscribers can submit, vote up or down, and comment on posts and links relevant to a specific subreddit. There is a subreddit organized around every conceivable topic.

The primary challenge is finding subreddits relevant to your website or audience. The easiest way to search for subreddits is to search, then follow “related subreddit” links.


1. Research content ideas

Use subreddits relevant to your industry, field, readership to find content topics and ideas that tend to do well – then imitate & improve. To find content ideas that have worked well, filter subreddits by “Top” – and then by time period (ie, all-time, monthly, this week, etc). By default, the front page of a subreddit is determined by how “hot” a post is, so you’ll see a good bit of new & popular right now posts.Use relevant subreddits to find unanswered questions – and use them to build content on your site. If someone is posting to a subreddit for help, chances are they’ve already Googled once, twice, probably 3+ times to find the answer. Again, look for submissions that have a question mark. You can also filters by If you can build content around those questions, you’ll rank for not only those searches, but also have content that answers similar questions other people are also asking.




2. Get keywords


One of the toughest (and most essential) parts of doing SEO is choosing the right keywords. Aligning the language of your website with the language your audience actually uses to search for your products & services is a core part of SEO

The problem lies with finding keywords that you know you don’t know about. There are plenty of tools that SEOs will use to find these keywords but often they simply can only go as far as your research about an industry will go (and people in the industry won’t realize those keywords are unknown because to them, they are obvious.

It’s like studying the inside of a house where you know there’s a hidden closet somewhere, but you have no idea where it is. But also, the homeowners doesn’t know what closet you’re talking about until you do find it. The only real way to find all the closets is just to watch the homeowners use the house until they stumble on the missing closet.

Subreddits allow you to do just that – watch your audience interact and talk about products & problems in a normal way. It may take some research, but simply reading threads on the right subreddit will give you some golden keywords that simply would not have cropped up otherwise.

The goal with this step is to find the right subreddit, identify posts with a lot of comments & discussion – and read them with an eye towards terms and phrases that have not yet cropped up in your research.

You can also take links to extensive comment section and paste them into Google Keyword Planner.

There’s a new tool called Keyworddit that can automate this process to a degree.

Tuesday, 10 January 2017

Adsense alternatives - Some best adsense alternatives by you can make some dollars. - google Adsense

1/10/2017 02:47:00 am
how many times have you applied for AdSense account and got rejected?

Most of the new bloggers apply for AdSense many times and become disappointed after getting rejected by AdSense. But AdSense is not the only advertising network for publishers. There are a lot of ad networks that share a decent amount of revenue to their publisher.

You should be aware that Google AdSense is a contextual ad networking program while a few of the AdSense alternatives mentioned below are not contextual ad programs. For example, BuySellAds offers a direct advertisement platform, Infolinks is an in-text link program, and Viglink turns your outbound links into affiliate links.

If you are one of them who didn’t get approved by AdSense or got banned by AdSense, then you can try the following networks. You can also use these networks along with AdSense to increase your revenue. Here is the list of AdSense Alternatives (2017) that are similar to Google AdSense.


Media.net is one of the best alternatives for AdSense. It is a contextual ad network, powered by Yahoo and Bing. It enables publishers to earn money from advertising revenue.The company reported a revenue of 232 million USD for the year 2015 and manages more than 450 million USD of managed ad spend. On August 22, 2016, a Chinese consortium led by Beijing-based Miteno acquired Media.net for 900 million USD.                                                                            

Popads is a legit network.It is one of the top 68 website in the world.I have help more than 520 publishers to monetize their blog through popads, I am really happy because of that.You can easily increase your earning through popads. there are several questions asked by readers, I know you are also one of them, I have tried to provide answers of all questions, even if you have any question left then don't forget to ask through comment below.



Bidvertiser is a pay per click advertising site that could be a great AdSense alternative if you didn’t get Adsense approval or got banned. The way it works is a little bit different from Adsense. While Adsense shows ads based on context or visitor’s interest, it creates a bidding system that allows the highest bidder to advertise on your blog. Initially, you won’t be able to earn much revenue as it takes some time to get your site found by Highest bidders. So stay longer.
Bidvertiser offers Text ads, Banner ads, Mobile Ads, Slider ads etc. You can also make money by promoting your customized toolbar. Minimum payment amount is $10 for PayPal/Payza and $50 for check.

It can be a potential AdSense alternative if you are getting US traffic on your blog. It has three types of Ads – Recommendation Ads, Search Ads and Custom Ads. It provides highly relevant product ads in a responsive ad unit that can be placed anywhere in your blog/site. It shows ads based on your selected categories and your blog contents.

Propeller Ads is a UK based Ad network. It’s a CPM ad network which pays for every 1000 impressions. If you have traffic from U.S., Canada, U.K., Australia, it will work great for you.
It has different types of ad products like OnClick PopUnder Ads, Mobile Ads, Banner Ads, Layer Ads, Slider Ads, Video Ads etc. It pays through Wire Transfer, Payoneer, Webmoney and Prepaid Cards.



Sunday, 8 January 2017

How to host own website using wampserver, step by step explanation.

1/08/2017 03:29:00 am
Hello everyone, 

In this blog I will tell you how you can host your website using wampserver. for that first of all you have to download latest version of wampserver. you can download wempserver from the below link.
http://www.wampserver.com/en/ . select your system format like 32 bit or 64 bit and download wempserver. you also have to download Visual C++ Redistributable for Visual Studio, that you can download from http://www.microsoft.com/en-us/download/details.aspx?id=30679

After downloading both the files install both the files in your system. and start wampserver. you can start wampserver by clicking on shortcut that is created on desktop. after start of wampserver you will find out wampserver symbol at below of your screen in taskbar  near to date and time. now wait till that symbol turns into green from red. when turns into green it means now you can use the wempserver.

Now open any browser, and in address-bar just type 'localhost'. now to convert this 'localhost' to any virtual domain name, run notepad as administrator and locate host file in 'C' drive that is at
C: > Windows > System32 > drivers > etc > host.  and open it.

Now in the last of that file just add '127.0.0.1 domainname'. for example 
127.0.0.1 engineeringway.com

Now go to the C: > wamp64 > bin > apache > apache2.4.23 > conf > extra and open httpd-vhosts file as a notepad. and in the end of that document just put code mention below.

     order deny,allow
     allow from all

    DocumentRoot "E:\wamp\www\first"
    Servername engineeringway.com

here documentroot property define your folder in which you have stored your webpages.

now save it and go to E:\wamp64\bin\apache\apache2.4.23\conf and open 'httpd' file and open it, after that find out 'virtual hosts' section and remove comment from that. now you are done with all the settings for wamp server, open browser and just type ur defined domain name it will load your site from your local server.


Saturday, 7 January 2017

How to add custom domain to blogger - godaddy

1/07/2017 01:45:00 am
Today i'm gonna discuss how you can connect your purchased domain from godaddy or bigrock to your blogger.
First of all visit any internet domain register website like godaddy.com or bigrock.com and search for your desire domain name. select domain name, term and make payment of it.