Example Websites

What Our Users Say

“Forgot how neat WebFaction’s hosting panel was. The concept of app plus domain equals site is nice.”

wheelermichael

In this section of the user guide, you can see how Website records bring Applications and Domains together to create something accessible from a browser in a few clicks.

Creating a WebFaction Site in 4 Minutes

Follow these steps to create a new website, with a new subdomain and WordPress blog application, in a few minutes.

  1. Log in to the WebFaction control panel.
  2. Click Domains / websites ‣ Websites. The list of websites appears.
  3. Click the Add new website button. The Create a new website form appears.
  4. In the Name field, enter myfirstsite.
  5. Add a new domain.
    1. In the Domains field, enter mynewsite.username.webfactional.com, where username is your WebFaction username.
    2. Click Create mynewsite.username.webfactional.com.
  6. Add a new application.
    1. Click Add an application ‣ Create a new application. The Create a new web app form appears.
    2. In the Name field, enter myfirstapp.
    3. In the App category menu, click to select WordPress.
    4. Click the Save button. The application is installed and added to website’s list of applications.
  7. Click the Save button. The website is created and added to the list of websites.
  8. Wait two minutes while your changes go into effect. Now might be a good time to check your email or refill that cup of coffee.
  9. Admire your accomplishment. Open http://mynewsite.username.webfactional.com in a web browser.

Creating a Simple Website

While applications and website records allow for complex arrangements of domains and applications, the most common use-case is a collection of files—HTML, PHP, and images—connected to a single domain. To create a simple website:

  1. Log in to the WebFaction control panel.

  2. Click Domains / websites ‣ Websites. The list of websites appears.

  3. Click the Add new website button. The Create a new website form appears.

  4. In the Name field, enter a name for the website.

  5. For each domain name you want to use with the website, add it to the list of domains. In the Domains field, enter the domain name. Enter one or more domain names. If the domain has not yet been added to the control panel, click the Create link that appears at the bottom of the list of domains to add it.

    For example, you might enter a base domain (like example.com) and a subdomain (like www.example.com).

  6. Add a new Static/CGI/PHP application.

    1. Click Add an application ‣ Create a new application. The Create a new web app form appears.
    2. In the Name field, enter a name for the application.
    3. In the App category menu, click to select Static.
    4. In the App type menu, click to select Static/CGI/PHP-X.Y, substituting X.Y with the version of PHP that you wish to use.
    5. Click the Save button. The application is installed and added to website’s list of applications.
  7. Click the Save button. The website is created and added to the list of websites.

  8. Upload files and images to the Static/CGI/PHP application’s directory, ~/webapps/application, where application is the name of the Static/CGI/PHP application.

    See also

    See Connecting with FTP for detailed directions on using FTP with your account.

After the changes have taken effect in about two minutes, the pages and images in the Static/CGI/PHP application can be reached at the domain selected.

A Sophisticated Website Configuration

While a WordPress blog or static site may be all you need, it’s possible to use domains, applications, and websites to reuse content across domains and segment content for different audiences. Consider this example for the hypothetical Widget Company.

Widget company can use a collection of domains and applications to target business and individual customers separately, without unnecessarily duplicating resources.

Widget Company has three domains:

  • widgetco.example
  • widgetsforbiz.example
  • widgetsforfun.example

and four applications:

  • static_corp, a Static/PHP/CGI application
  • django_biz, a Django application
  • django_consumer, a Django application
  • wordpress_blog, a WordPress blog.

With three website entries in the control panel, Widget Company can reuse applications under each of the three domains:

widgetco.example
    /           ->  static_corp
    /biz        ->  django_biz
    /blog       ->  wordpress_blog
    /consumer   ->  django_consumer
widgetsforbiz.example
    /           ->  django_biz
    /blog       ->  wordpress_blog
widgetsforfun.example
    /           ->  django_consumer
    /blog       ->  wordpress_blog