The process of building the Farbox station

Source: Internet
Author: User
Tags web hosting

The process of building the Farbox station

This article transferred from: http://mosir.org/html/y2012/How-to-build-your-website-by-farbox.html

    • Author: MOSiR
    • Time: December 15, 2012
    • Category: Web-related

Out of the farbox of the realization of the idea of recognition, after a shallow try, and now finally out of space to actually use a bit.

A few days ago, after seeing Farbox, I immediately tried, and wrote a brief introduction: farbox--Alternative interesting website service. At that time, the main thing is to understand the idea, because read the document, found that the document is still very simple, written out of the function is basically more than the static Web services provided by Github,bitbucket features strong point. Read the document again today and find that the documentation has been enriched, and that the potential and power of this alternative web hosting service is becoming more and more evident.

The steps to build a station using Farbox are not complicated. Here's a description. For more detailed instructions, refer to "Farbox Help & Development Documentation".

  1. Register your domain name yourself.

    In the NS resolution of the domain name, the domain name CNAME is on the park.farbox.com. If you do not have your own domain name, or just want to try, you can ignore this step, in the back directly using a similar xxxx.farbox.com domain name, where xxxx as long as more than three letters, and no one else occupied on it.

  2. Apply for a Kingsoft Express or Dropbox account yourself.

    We basically don't have to think about choosing which network disk will be faster. The optimization of access speed is given to Farbox to consider;-) However, now the Farbox server is in Japan, so although the use of which network disk in theory is similar, but Japan's visit to the United States more stable lines, Japan to the mainland of the line from time to time will be pumping, and generally in the evening access to a lot more delay.

    Of course, the mainland's visit to Jinshan fast is generally faster than Dropbox, and will not worry about being "that wall" interference.

  3. Log in with your network account Farbox

    There will be a hint asking if you agree to authorize Farbox to access your network disk, and choose to agree. Farbox can only access content similar to the App/farbox directory, so you do not put sensitive files in this directory, the contents of your network other directory is not a risk of leakage.

    Once signed in and authorized, Farbox will create a demo site for you, such as dropbox-83042029.farbox.com. You can wait and visit this demo station to see the effect.

  4. Binding Set Site domain name

    Farbox provides three ways to bind domain names. This part of the Farbox design is not very concise, the document is also a bit confusing. I do not recommend the use of the first two, farbox in this part of the process can be said to be in trouble for themselves, but also increased the likelihood of confusion.

    I would suggest creating a app/farbox/domains.config to maintain the website under your account in this file. For example, if we want to use a level two domain name "mosir.farbox.com" and a top-level domain "mosir.org", then we can first set up the following two directories under the App/farbox directory of the local network disk:



    Mosir.farbox.com

    mosir.org



    Re-establish domains.conf, the format is a single line, the row includes "directory", "website name" and "Domain Name", each part of the interval can be used "space +-->", its content should be as follows:

    MOSiR. Farbox.  COM - mosir ' s Demo site at  farbox --- mosir.  Farbox.  COMmosir.  Org - mosir ' s site -- mosir.  Org                  


    After saving the file upload, try to visit your website. If 403 is present, please wait 5-15 minutes and try again, Farbox syncing your website takes time. Although nothing has been written yet, at least one site with a default template will appear. If it is still 403, please delete the cookie cache in the local browser, login again, here Farbox no logout function, so ...

    However, because it is still in the testing phase, Farbox's sync function sometimes fails, and it will have to wait until its function is restored before it can see the effect.

  5. Start writing

    Refer to "Rules of writing" and start writing. Files are stored directly in the local network app/farbox/mosir.org directory, and so on, and so on, access to mosir.org can see the content of the site automatically updated.

  6. Advanced usage

    Once you have mastered the basics, you can consider reviewing the Farbox Help & development documentation, learning how to use custom templates, article categorization, commenting systems, queries, and more.

Farbox basically every day in the update, the document is constantly updated, especially in the advanced usage of the function, before the release of the official version may have a big change, interested in the developer's meager or occasional attention to the update of the document.

The process of building the Farbox station

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.