Publishing multiple sites to a single Host
When publishing to an Alternate host, Sandvox allows you to publish more than one site to a single host. To do so, you publish each site to a different subfolder:
Once each site is published you then direct site visitors to the appropriate URL. So for example, something like:
http://www.example.com/subfolder1 http://www.example.com/subfolder2
For this to work properly, you need to specify the subfolder name in both the URL that visitors will use when accessing the site, and the document root folder, e.g. public_html/subfolder1.
To publish to a subfolder:
- On the URL field, add "/" (if it doesn't have one already) to your main URL then type the name of the subfolder you want to publish to. You cannot use any incompatible characters, such as spaces.
Depending on your previous settings, Sandvox may auto-fill the Folder field to reflect the name of your subfolder. If it does not, there are two ways you can manually add the subfolder:
- If it is not there already, type your document root on the Folder Field. Then type "/" plus the name of the subfolder.
or
- Click the "Choose..." button then choose or create the subfolder within your document root folder.
If you are publishing to Sandvox Hosting site, you will need to set up an additional site from your Sandvox Hosting account.
Keywords: host, hosting, hosted, hosts, site, sites, multiple, many, publish, publishing, published, sub, folder, folders, subfolder, subfolders, directory, directories, subdirectory, subdirectories, sub-folder, sub-folders, sub-directory, sub-directories