Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. https://crt.sh/?q=example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.
I assume I have to make some changes here, in the httpd.conf file of the server, could you please help me as to what I have to change in the following files? Sorry for the questions but I’m new to all this. Appreciate all the help so far.
in this case, remove your serveralias directive and set servername to techwittys.com
then, you add another virtualhost before all others and set it so that redirects to the main one. this virtualhost can either have a servername of www.techwittys.com or it might have a random one, it’s your default virtualhost, it will catch anything not defined elsewhere. Set it to www.techwittys.com if you want it to be easier, as certbot will read that file and see the virtualhost.
if you want to go completely overboard, add a dns record like * 3000 in A @ so that every subdomain will default resolving to the second level domain. But then you might need a wildcard certificate.