Static web hosting with SashiDo

Peruna Keremidchieva

One of the guideline policy that Parse created was to try to make everything convenient for their users and that was one of the main reasons developers loved the service. SashiDo’s team wants to keep this tradition by providing our customers the same experience of comfort and effortless coding. I’m sure this happened to you: you get an order for an app, but the customer also wants a website with it. So you have to use one provider for the mobile application, another for the website, deal with web hosting and sftp servers, domain name registering etc. Wouldn’t it be lovely to have everything in one place?

With SashiDo you can :)

In this tutorial we’ll show you how to publish static web sites in few simple steps.
When you deploy Cloud Code in your GitHub repo, any files in your directory ‘public’ is uploaded to Parse Server and becomes accessible online. You can choose a subdomain in their app settings.

So let’s get started.

  • Go to SashiDo’s Dashboard > App Settings > Emails & Hosting . Choose a subdomain name, it should be in the following format:

    [subdomain-name].yoursite.com

  • Enter the wanted subdomain + mysite.com in the input, don’t press ‘Save changes’ yet.

  • By entering the subdomain’s name you’ll see host names to resolve the CNAME.

  • Now you have to claim the new host name. Go to your DNS provider and set up a new CNAME record.
  • Go back to SashiDo’s Dashboard and now save the changes.
  • You already know about your private GitHub repo with you Cloud Code hosted in it link to tutorial. It also holds a folder named ‘public’ where you can keep your html, css, JavaScript, image files.
  • Clone the repository and
git add .
git commit -am 'upload my awesome site'
git push

your website files in the ‘public’ directory. Every push triggers a deploy so you don’t have to deploy the code afterwards :)

  • Now go to your new domain and see how the website just came alive for the web.

alt

Here’s some useful documentation on how to add new CNAME record:

GoDaddy

Amazon

namecheap

networksolutions

Continue enjoying simple and straight-forward coding, leave the messy server-side stuff to us to handle :)

We can’t wait to see the amazing sites you’ll create and host on SashiDo.

Happy coding :)

Peruna Keremidchieva

SashiDo's community manager & customer happiness freak.

Find answers to all your questions

Our Frequently Asked Questions section is here to help.







Latests news

How to make your Mobile Application GDPR Ready

At SashiDo we certainly care about our customers and we strive to be up-to-date on the horizon of the novelties coming up. We’re all working on GDPR these days and we want to help people understand what it is. What does GDPR mean? In February we announced that GDPR is coming and SashiDo.io is getting ready and now we will be more specific on how to make sure your mobile app is prepared for the upcoming changes in the European Union region.

Read More

SashiDo Acquires Octobas

SashiDo is pleased to announce its recent acquisition of all the assets of Octobas.com, a robust and scalable backend for mobile and web apps based on Parse Open Source. For the past 2 years our mission has been to become a leading Parse Server hosting provider in the mobile and web apps development world as well as to continue improving our service, launching new features and providing quality and security to our customers.

Read More