I struggled to find documentation for what I wanted to do with the new software. There is a very limited amount of documentation on the following site:
http://docs.ispconfig.org/
It did not cover my requirement for very simple web forwarding.
The DNS server for my domain is hosted on this new server but my blog is hosted elsewhere.
The following screenshots show examples of the settings I needed to enter to get web forwarding to work to a Google Blogspot site. They may not be the only way, nor the best but they worked today:
Create the DNS zone first |
Beware of web browsers caching and of DNS refresh times, particularly the Time To Live (TTL.)
Add a CNAME for the sub-domain you want to forward |
While testing, I set the TTL for the domain and the individual hosts to be 5 minutes (300 seconds) but despite that Chrome cached the incorrect web site. I needed to clear the browsing history before I could see the changes working.
Add a top level web site |
Add an alias to redirect to any other URL |
I believe, but I'm not confident that the abbreviation R, in the above, means redirect and the L means don't process any further rules on that host name. Anyway the example I based this on suggested always using the R,L type.
The following bit is only necessary if you want to redirect the root domain to a web site.
For example: http://anewleaf.org.uk to got to http://www.anewleaf.org.uk
Settings on the site Redirect tab |
After a couple of days of use, with everything working as it should, I reverted the TTL's back to 3,600 seconds for the host names and 50,000 seconds for the domain.
No comments :
Post a Comment