Hosts - Host types
Testing Host
Testing hosts look like this:
- yoursitename.dpg.cc
- yoursitename.dpg.cx
A testing host is used for previewing and updating your Digital Photo Gallery site. You can add as many testing hosts as you like, although you should only need one. You can add and remove testing hosts at any time.
DPG has two types of testing host. The standard type is a dpg.cc address, this is the default and uses a HTTP connection. The second type is dpg.cx which is a secure HTTPS version. If you choose to use the secure version, you’ll need to make sure that all content on your site is served via a HTTPS connection. For all DPG content this is done automatically when you create a secure site, but you should also ensure all external assets (such as any images, videos or scripts that you have added) are also secure, otherwise they may not load in all browsers. If you are not sure stick with the dpg.cc address.
Public Host
Before you launch your site you should always add a public host. It is indexed by search engines and content served from a public host loads faster in browsers than from a testing host.
Public hosts use our advanced caching system so there may be a slight delay when updating content, which is why you should always use a testing host to view your site changes.
Public hosts look like this:
- subdomain.yourname.com
- yourname.dpg.gallery
If you own a domain name you can read more about adding it to DPG here.
If you don’t own a domain and don’t want to buy one or you just want the fastest possible way of creating an address for your public site, then you can use our free dpg.gallery service. To add a dpg.gallery domain all you need to do is add a new host using the interface:
Our dpg.gallery addresses are secure by default, so you’ll also need to make sure that any content you add from external sources is served via a HTTPS connection.
If you have two domains that you wish to use on one site, always make one the primary name and then set up the other to redirect to the primary. The redirect is usually best done through your domain provider.