Simple & Easy Dropbox Web Hosting

Create Hassle-Free Dropbox-Powered Websites






process 2


Advanced Features

Custom Domains

duet.to supports custom domains like www.mysite.com to be used for duet.to sites. You may purchase a new domain name or use an existing one you already own. Just follow the below steps carefully.

  1. Open your domain registrar admin interface and navigate to DNS management.
  2. Create (or modify) a CNAME record with hostname www to domains.duet.to, this will point the domain to your duet.to site. If concerned about TTL you can set it to 3600. It might take up to one hour for this change to take effect depending on your ISP.
  3. If your domain registrar supports domain forwarding, forward your main domain to the www hostname. For instance, if your domain is mysite.com forward it to www.mysite.com to make sure your main domain also works.
  4. Visit your site a bit later and make it a beauty.


Include another HTML file

To avoid repeating content blocks like navigation menu and footer use the following duet.to tag to include HTML from another file like myfile.html for example.

{INCLUDE: myfile.html}

Markdown

duet.to supports GitHub flavored Markdown and provides two ways of implementation based on your preferred style.

Inline Markdown

To parse Markdown syntax, wrap your markup with the follwoing duet.to tags in any HTML page.

{MARKDOWN}
_Hello World!_
{/MARKDOWN}
Markdown Files

duet.to parses all files with .md extension as Markdown. HTML tags in .md files also work as expected.

http://mysite.duet.to/mypage.md

Date Tags

In such a case, you need to dynamically output date related content, use the following duet.to tags.

{DAYOFWEEK} = Friday
{DAYOFMONTH} = 24
{MONTH} = March
{YEAR} = 2017
{DATE} = March 24, 2017

Email Form Submission

duet.to makes it really easy to capture form submissions and have it delivered to your verified email address, that is associated with your Dropbox account. Have a look at the sample form below.

  1. {SITENAME} is a dynamic duet.to tag that automatically outputs your site name for you, for example mysite or www.mysite.com
  2. Make sure to have a field named email (you'll need it to respond).
  3. You can add more fields and style the form as you want.
<form method="POST" action="http://duet.to/mailto/{SITENAME}">
<input name="name" type="text" placeholder="Name" required>
<input name="email" type="email" placeholder="Email" required>
<textarea name="message" placeholder="Message" required></textarea>
<button type="submit">Submit</button>
</form>


Dynamic HTML Tables

You can dynamically generate basic HTML tables by simply referencing Microsoft Excel files or Google Sheets published documents.

Using Microsoft Excel

Place your .xls file in the same folder where your HTML file is located and use the following duet.to tag, please make sure to save the file as .xls (Excel 97-2003 Workbook) as the new Excel format (.xlsx) is not yet supported.

{EXCEL: mytable.xls}
Using Google Sheets

Create a Google Sheets document then select 'Publish to the web' from 'File' menu, click 'Publish' then copy the document key (the weird part only) and use the duet.to tag like blow.

{GOOGLESHEETS: 1K0G3FhaTfAGwm9ZzlD0ZFlQMywxhY66-uBtcu-Or8uw}

Private Sites

duet.to allows you to password protect your site so that only users with passwords can access it. Simply create a protected.txt file and add it to your site main folder with the following two lines.

my_user_name
my_password


Custom 404 Page

duet.to allows you to design your own 404 or Page Not Found error message. Simply create a 404.html page and add it to your site main folder.

http://mysite.duet.to/404.html






CREATE YOUR WEBSITE NOW!

Deploy websites out of Dropbox.