Error http to https redirect in apache with Ubuntu
$8-15 USD / hour
When i enter to [login to view URL] without https i got an error message.
1) Root cause:
sudo certbot --apache -d [login to view URL] -d [login to view URL] -d [login to view URL]
2) Error for certbot command
Enhancement redirect was already set.
Failed redirect for [login to view URL]
Unable to set enhancement redirect for [login to view URL]
Unable to find corresponding HTTP vhost; Unable to create one as intended addresses conflict; Current configuration does not support automated redirection
3) Logs
sudo apachectl -S
VirtualHost configuration:
*:80 is a NameVirtualHost
default server [login to view URL] (/etc/apache2/sites-enabled/[login to view URL])
port 80 namevhost [login to view URL] (/etc/apache2/sites-enabled/[login to view URL])
port 80 namevhost [login to view URL] (/etc/apache2/sites-enabled/[login to view URL])
port 80 namevhost [login to view URL] (/etc/apache2/sites-enabled/[login to view URL])
*:443 is a NameVirtualHost
default server [login to view URL] (/etc/apache2/sites-enabled/[login to view URL])
port 443 namevhost [login to view URL] (/etc/apache2/sites-enabled/[login to view URL])
port 443 namevhost [login to view URL] (/etc/apache2/sites-enabled/[login to view URL])
alias [login to view URL]
alias [login to view URL]
port 443 namevhost [login to view URL] (/etc/apache2/sites-enabled/[login to view URL])
alias [login to view URL]
ServerRoot: "/etc/apache2"
Main DocumentRoot: "/var/www/html"
Main ErrorLog: "/var/log/apache2/[login to view URL]"
Mutex default: dir="/var/run/apache2/" mechanism=default
Mutex mpm-accept: using_defaults
Mutex fcgid-pipe: using_defaults
Mutex watchdog-callback: using_defaults
Mutex proxy-balancer-shm: using_defaults
Mutex rewrite-map: using_defaults
Mutex ssl-stapling-refresh: using_defaults
Mutex fcgid-proctbl: using_defaults
Mutex ssl-stapling: using_defaults
Mutex proxy: using_defaults
Mutex ssl-cache: using_defaults
PidFile: "/var/run/apache2/[login to view URL]"
Define: DUMP_VHOSTS
Define: DUMP_RUN_CFG
User: name="www-data" id=33
Group: name="www-data" id=33
Project ID: #35257296
About the project
16 freelancers are bidding on average $17/hour for this job
Greetings! I can fix this in few minutes. Let me know if you are interested. Thank you
Hello, We can fix the HTTPS issue now. We are a team of 3 AWS Sysops Certified System Administrators with 10 years experience in web hosting industry. You can check our profile to get reviews on what we have been do More
Hello, I can help you to setup your HTTP to HTTPS and resolve all types of issues. Please initiate a chat session so we can discuss more about it. Thank You.
Hi, I can help you in your project. Can configure apache with ssl correctly I can start this project now. Thanks Ashish A.
Hey, I'm a sysadmin and I can fix your SSL-related issue. Msg me, I can work on it right now. My timezone is GMT+2.
Hi, hope you are doing well. I have an experience in Apache, I can start right now. Please share your details. Thank you
Error http to https redirect in apache with Ubuntu Hello Gerardo G., Hope you are doing great. I went through your project description and it seems like I really am the perfect fit for your Task. I have 10+ years More
Hi Dear I am a senior software engineer. Going through your project description I found it right fit for me. I can do such app from your posting and I will send you awesome result within your deadline you hire me. I wo More
Hello Gerardo G., Hope you are doing well. I went through your project description and it seems like I am a great fit for this job. I would like to grab this opportunity and will work till you get 100% satisfied with More
I can help you to solve this issue by redirecting ports. I think that is what you need...You should use https.
Hello, Greetings Gerardo G., Good afternoon! As you can see in my profile I am professional web developer not just a normal developer with skills including Apache, Linux and Ubuntu. I checked for your project and inte More
Hey there, Seems to be an issue with your Apache vHost file. The file has a record for HTTPS, but not one for HTTP. Since an HTTPS record already exists in a file, certbot is failing to modify it. Get in touch with me More
This ia easy for me 12 usd is enough. if you are intresting please let me know. I am a professional AWS Certified Cloud Engineer with strong knowledge of Linux systems and proven expertise in maximizing performance a More