Domain Redirects#
Redirect a Domain to a Wordpress Site#
-
Purchase the domain through ITS. If it must be purchased by auction, buy and then transfer to ITS. If a domain is already owned, but not managed by Metro ITS, transfer the domain to Metro.
-
Once the domain purchase is final, go to cpanel (see passwords for login info) and PARK the new domain.
-
Set up a redirect from the new domain to the site on nashvillepubliclibrary.org:
- You should be able to set up a redirection from the Parked Domains list by clicking Manage Redirection:
- If that option is not available or if you are at the cpanel home menu, do this instead:
- Click Domains from the list
- Click Redirects from the list
- Choose the domain we’re redirecting (it will be the one you purchased). Type in the URL of the nashvillepubliclibrary.org site you want the new domain to point to.
-
Email ITS and let them know you have redirected X domain to a new URL. Give ITS the host gator server IP (saved in passwords).
Hi Help Desk,
A few months ago, you guys purchased two domains for the library:
studionpl.com
studionpl.org
Both URLs need to redirect to this IP address: xxx.xxx.xxx.xxx (the
IP address for http://nashvillepubliclibrary.org).
Once that's complete, I'll get in touch with the host to complete
the redirect to the correct spot on nashvillepubliclibrary.org.
Can you help?
Thanks,
Redirect a Domain to a Drupal Page#
Route an owned domain name (like studionpl.org) to an internal page on the library’s Drupal site. - Currently: ITS forwards the domain to the internal page (for example, https://library.nashville.org/studionpl) via Hover. - Need to Test: Hover cannot forward https domains, but Drupal has a way to forward domains to a page using a few lines of code in settings.php. That code routes traffic from the domain name to a specific page on the Drupal site. Need to test this.
-
Purchase the domain through ITS. If it must be purchased by auction, buy and then transfer to ITS. If a domain is already owned, but not managed by Metro ITS, transfer the domain to Metro.
-
Make the change in Drupal settings.php file. We figured out how to do this from Pantheon Documentation. Cannot test on multidev (I dont' think) so push to production to verify the redirect works.
-
Point the domain name(s) to Drupal.
- Get the right URL from Pantheon.
- For NPL site: Forward the domain to the live URL on our web host. This is the easiest option and what we recommend.
- For LL site: Use the platform domain for the LL site.
- Get the right URL from Pantheon.
-
Send ITS with a DNS service request with the associated domains and the IP address you want them sent to.
Hi Help Desk,
Nashville Public Library owns the following domain name(s):
[domain name]
We need to forward traffic from the above domain name(s)
to library.nashville.org/[url-path].
Can you please set up this domain the same as studionpl.com and
nashvilletalkinglibrary.com? When we did this last, we forwarded the
domain to the internal page via Hover.
If the DNS change is successful, a user typing [domain name] will be
redirected to library.nashville.org/[url-path].
Can you help?
Thanks,
- Test to verify that the redirect works.
- If you run into trouble, double check that there aren’t any redirects in Drupal that need to be deleted or changed.
- If this was a domain name we used with Wordpress, log in to Hostgator and make sure the domain isn’t parked / redirected.
- If there aren’t conflicting redirects in Drupal, report issues to ITS.