Question:
-
I'm a web designer and I use 3Essentials to host many sites for my customers, and I need a way for me and my customer to view the site I've developed for them on 3Essentials hosting BEFORE we cut over DNS to point to the site at 3Essentials.
Answer:
-
The answer will vary slightly depending on some factors:
-
If you're hosted on our cPanel hosting solutions, simply use http://webX.3essentials.com/~cpaneluser
-
where...
-
webX.3essentials.com is the webserver your hosted on (i.e., web9.3essentials.com, web11.3essentials.com, etc)
-
cpanelusername is your cpanel account username.
-
Reseller tip: if you want to hide the "3essentials.com" from your customer , simply use http://IP-of-server/~cpaneluser
-
If you're hosted on our Plesk hosting solutions:
-
If the site is not a portal based content management system (CMS) like DotNetNuke (DNN), then each site is accessible with our sitepreiew URL, which is http://webX.3essentials.com/$sitepreview/domain.com
-
where...
-
webX.3essentials.com is the webserver your hosted on (i.e., web26.3essentials.com, web22.3essentials.com, etc)
-
domain.com is your actual domain name.
-
If the site IS a portal based CMS like DNN, see the Site Preview Options For DNN section below.
Site Preview Options For DNN
A portal based solution won't work well with the SitePreview feature (http://webX.3essentials.com/$sitepreview/domain.com) because portal based solutions actually map the URL with content within the portal... and there's no portal definition for "http://webX.3essentials.com/$sitepreview/domain.com". Even adding "http://webX.3essentials.com/$sitepreview/domain.com" as a portal alias can cause problems because of the way the $sitepreview function is designed. As such, there are two alternate approaches:
OptionA: HOSTS file entry.
-
Create a HOSTS file entry on your PC resolving the site to it's IP address on the 3Essentials server. Contact Support if you don't know the IP address of the server. The HOSTS file entry would look like this:
-
X.X.X.X yourdomain.com www.yourdomain.com
-
This will make your PC resolve www.yourdomain.com to the IP address of the 3Essentials server, instead of where DNS is actively resolving the domain to.
-
more details on using the HOSTS file method including where the HOSTS file is and how to edit it are found in the following KB article:
-
http://knowledge.3essentials.com/web-hosting/article/213/What-is-a-HOSTS-file-and-how-do-you-edit-it.html
OptionB
With the Parallels Plesk 11 control panel, there is a new site preview feature that operates differently from previous versions of Plesk. It allows you to view your site at a URL like:
http://domain.com.111-222-333-444.previewXX.3essentials.com
Where 111-222-333-444 actually represents the IP address of your site on the server and previewXX.3essentials.com represents the server on which the site is hosted. For example, if your site is hosted on our shared hosting server, web34 and your site is called "mydomain.com" your site preview URL would look like this:
http://mydomain.com.66-194-27-243.preview34.3essentials.com
You can actually add your site preview URL to the portal alias for the portal you are developing and DNN will direct the request for the URL to the portal. To do this:
-
Login to DNN with your host login credentials
-
Go to Host -> Settings -> Site Management
-
Here you will see a list of portals configured in your DNN application. Edit the portal you are developing and se the Add Portal Alias option to add your portal alias.
NOTE: Since DNS may not be directing you to the new site, you may have to use the HOSTS file initially in order to access it and add the portal alias. See OptionA above on using a HOSTS files. But if you did the initial DNN installation then it is likely you are already using a HOSTS file to reach the new site.
OptionC: Aliasing with alternate domain (with no HOSTS file or DNS changes to the customer domain needed)
-
If you have a domain name that's yours (and not your customer's), youu can create a hostname on that used specifically for accessing this site, and set that as an alias/portal alias on this site/dnn installation. This is the most common method web-developers use with our hosting services for just this item. The following example illustrates this for clarity.
Assume you are ABC Website Design company, and you own ABCwebsitedesign.com. ABCwebsitedesign doesn't have to be hosted with us, you just have to be able to create DNS records on that domain, one that you control that's not your customer's.
Also assume you're developing a site for your customer, mycustomer.com.
-
If your ABCwebsitedesign.com site and the mycustomer.com site are both on the SAME 3Essentials server, then this step is not necessary. Otherwise, create a unique hostname on that domain to use for this purpose, so for example create DNS A record on ABCwebsitedesign.com like this:
-
mycustomer.ABCwebsitedesign.com (record type A) X.X.X.X
-
where X.X.X.X is the IP address of the mycustomer.com site on the 3Essentials hosting server.
-
Now you take your mycustomer.com domain, as hosted with us:
-
-
And add that unique hostname, mycustomer.ABCwebsite.com, as both a domain alias and a DNN portal alias, resulting in:
-
mycustomer.com (domain aliased as mycustomer.ABCwebsitedesign.com)
-
portal0: mycustomer.com(portal aliased as mycustomer.ABCwebsitedesign.com)
-
Now the site mycustomer.com as it sits on our servers our servers is reachable via http://mycustomer.ABCwebsitedesign.comand your customer can reach it without any HOSTS file or DNS changes.
|