Skip to content

Hosting simple website#299

Merged
jakubkornafel merged 4 commits intomasterfrom
feat/hosting-simple-website
Oct 26, 2018
Merged

Hosting simple website#299
jakubkornafel merged 4 commits intomasterfrom
feat/hosting-simple-website

Conversation

@jakubkornafel
Copy link
Copy Markdown
Contributor

No description provided.


* Preparation: **5 minutes**
* Requirements:
* Initiated Syncano project
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's create in cookbook a page about about basic project init (cookbooks style) and link here and in other places. It is not a blocker for that PR but please create Jira ticket for it.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cookbook task has been planned in Jira.


### Solution

In order to publish your website or application you just have to create a Hosting in Syncano and upload the files there (e.g. index.html file with simple ```<h1>Hello world!</h1>``` tag inside of body section). To set up your page you don't have to do anything more but upload an index.html file and set a CNAME record in your domain provider dashboard. Then the domain will be leading to your page.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"domain provider" -> domain name server dashboard

Later, you will be asked to provide some info:
* Please name this hosting
* Please choose directory of your project **(this one appears if you don't specify the path-of-local-project-folder-to-host])**
* Do you want to set CNAME now (your own domain) or should it be empty?
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess we need a comment somewhere before this step about CNAME. I to write somewhere before that if you want your own domain you need create "CNAME record in DNS" which looks like:
your.domain.com -> <instance_name>.syncano.site or confirm that CNAME should be empty (to use internal address)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've added it. Feedback, please.

@mkucharz
Copy link
Copy Markdown
Member

Missing labels.

additional changes about domain name server provider
@codecov-io
Copy link
Copy Markdown

codecov-io commented Oct 25, 2018

Codecov Report

Merging #299 into master will decrease coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #299      +/-   ##
==========================================
- Coverage   38.47%   38.47%   -0.01%     
==========================================
  Files          88       99      +11     
  Lines        2773     4244    +1471     
  Branches        6        6              
==========================================
+ Hits         1067     1633     +566     
- Misses       1706     2611     +905

Later, you will be asked to provide some info:
If you want your own domain to point to your hosted files you need to create CNAME record in DNS which looks like:
```
Domain: your.domain.com CNAME Record: <instance_name>.syncano.site
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Write it like this:

CNAME your.domain.com -> <instance_name>.syncano.site

CNAME your.domain.com -> <instance_name>.syncano.site
@mkucharz mkucharz requested review from jonny22094 and removed request for Idered and maciejkorsan October 26, 2018 08:14
@jakubkornafel jakubkornafel merged commit 02d355a into master Oct 26, 2018
@mkucharz
Copy link
Copy Markdown
Member

@jakubkornafel you forgot to delete a branch

@jakubkornafel jakubkornafel deleted the feat/hosting-simple-website branch October 30, 2018 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants