This repository exists to host https://southlandpto.com and redirect it to https://southlandpto.weebly.com.
southlandpto.weebly.com is a blog managed by the Soutland Elementary PTO. The PTO did not want "weebly" included in the url. While Weebly allows for this, it costs at least $72/year and the PTO is especially budget conscious this year, given Covid-19.
To make this happen, we did the following:
-
Registered
southlandpto.comwith GoDaddy. The account is currently tied to the secretary, but could easily be moved to a shared Southland PTO GoDaddy account, if desired. -
Inside GoDaddy, configured
southlandpto.comto point to IP Addresses owned by GitHub. I followed instructions here, but more generic instructions are here. -
Created this repository to be hosted in Github Pages. It contains an
index.htmlpage that simply redirects to https://southlandpto.weebly.com. It also contains a file calledCNAMEthat contains "southlandpto.com" and in the GitHub page configuration,Enforce SSLis enabled. I believe this triggers Github to create an SSL certificate on my behalf using Let's Encrypt, but I'm not positive.
When you type southlandpto.com into your browser, it returns a page over SSL from GitHub that issues a client side redirect to southlandpto.weebly.com.
This approach has three downsides:
- Once you land on
southlandpto.weebly.com, you continue to seeweeblyin the URL. This is not ideal, but the costs to address it are not currently acceptable. - There needs to be a GitHub account that hosts this content. This isn't overly complicated, but it's also not the kind of thing that most people know how to do.
- Because this is a client side redirect, you see
southlandpto.comquickly and then it goes away. This is acceptable, but not ideal.
Should we choose to invest the money in making this process more streamlined, we'd pay weebly $72 per year for their lowest tier paid plan, which would let us use our own custom domain. We would then register our domain with them and they would create an SSL certificate on our behalf (using Let's Encrypt). In addition, we'd need to point our domain at the weebly IP addresses in GoDaddy or transfer our domain from GoDaddy to weebly to handle that for us.
GoDaddy has a "forwarding" feature we tried to use first, where they point southlandpto.com at their servers and there is some lightweight server
config that redirects to southlandpto.weebly.com. However, this doesn't support SSL and we were concerned that users might type southlandpto.com into their broswers, see "Insecure" warnings, and not continue.