--- Change a vHost bingwww and root-dev-aws ---
Change a vHost on /bingwww.login and maybe /root-dev-aws.login
https://jfhwiki.binghamton.edu/doku.php?id=old:servers:redhat:bu-bingwww&s[]=vhosts
pop.binghamton.edu ==> https://www.binghamton.edu/programs/pop/
DNS change pop.binghamton.edu from 34.238.23.117 to 34.239.29.130
===============================================================
/bingwww.login - 34.239.29.130
cp -p each file to a dated backup
--add an entry like
vi /etc/httpd/conf.d/vhosts.conf
<VirtualHost *:80>
ServerName pop.binghamton.edu
ServerAlias www.pop.binghamton.edu
Redirect permanent / https://www.binghamton.edu/programs/pop/
</VirtualHost>
#
vi /etc/httpd/conf.ssl.conf
--add an entry like
<VirtualHost *:443>
ServerName pop.binghamton.edu
ServerAlias www.pop.binghamton.edu
Redirect permanent / https://www.binghamton.edu/programs/pop/
</VirtualHost>
systemctl reload httpd
systemctl status httpd
Send DNS change to CNAME for NEWVHOST.binghamton.edu against www.binghamton.edu
===============================================================
/root-dev-aws.login - 34.238.23.117
remove the entries being moved --- cp -p each file to a dated backup
vi /etc/httpd/conf.d/vhosts.conf
vi /etc/httpd/conf.ssl.conf
systemctl reload httpd
systemctl status httpd
confirm the new URL is working
Per a request from Gerald Hovancik, I added the domain teen.binghamton.edu as a CNAME for www.binghamton.edu. Then I added the virtual host teen.binghamton.edu to Bingwww. The domain redirects to www.binghamton.edu/psychology/labs/teen/