How To Create A Stock Photography Website In Free Hosting

At this time, there are so many stock photography websites available. Some of them are Pixabay and Shutterstock. In this post, we will show you that how to create a stock photography website on free hosting or paid web hosting. All you need is a PHP script called GoStock.

How To Create A Stock Photography Website

Using the stock photography website, you can make money from display advertisings and by selling photos. Photographers got an awesome chance for selling their photos.

How To Create A Stock Photography Website Online?

First of all, you need to download our script. After that, choose any web hosting. You can choose Namecheap or Xozz web hosting for hosting your website. Check our Xozz web hosting review for more.

For this tutorial, we are using a free web hosting called Googiehost. Log in to your cPanel and access file manager.

cpanel file manager

Now, go to the public_html folder and upload your script there.

upload files to public html

Choose the script and upload it.

script uploaded

After uploading the file, you may want to extract the zip file.

gostock script extracted

Now, open database section on cPanel.

database section

Then, create a database and assign a user to it.

add user to database

Now, select phpMyAdmin from cPanel.

open phpmyadmin

Select your created database from there.


Go to the import section.

database import

Choose the SQL file from the script and upload it to the database.

gostock sql file

After that, we are good to now. Now, all we need is, configure the database on the script. For that, go to the file manager and public_html folder. Find the .env file there. If you didn’t see that file, you may want to show the hidden files.

find env file

Edit yours .env file.

edit env file

Replace MySQL database name, user, and password on the file and save it.

save db credentials

That’s all! Check your website from the front end. It will look like

gostock stock photos

Now, let’s log in as admin.

login gostock website

The default username is admin and the password is 123456.

login gostock

There, you can configure your website and upload photos.

gostock panel admin

Start making money from your blog using Google AdSense and track your website visitors using Google Analytics.

google addon

Got Any Error?

If you got any error in these steps, we have added a well-coded document in the script. It will help you to setup your website.

This is how you can create a stock photography website. We hope you found this tutorial helpful. If you did, please consider sharing our articles with your friends. It will help them to create their own stock photography website in free hosting and also us to write more related posts.

Leave a Reply