Error http to https redirect in apache with Ubuntu

Closed Posted 1 year ago Paid on delivery
Closed

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

Linux Apache Ubuntu

Project ID: #35257296

About the project

16 proposals Remote project Active 1 year ago

16 freelancers are bidding on average $17/hour for this job

udayarpandey2022

Greetings! I can fix this in few minutes. Let me know if you are interested. Thank you

$30 USD / hour
(526 Reviews)
7.3
kuldeepvk

Hi, I will check issue with ssl and redirection and make it redirected to it properly.I have 10 years of experience in Linux servers as well as windows server alongwith panels and services such as cPanel/WHM,DNS Ples More

$12 USD / hour
(520 Reviews)
7.2
techytrois

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

$9 USD / hour
(213 Reviews)
6.2
Hostingshades

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.

$30 USD / hour
(147 Reviews)
6.0
abhi98041

Hello, my name is Abhishek. I have gone through your setup term and this function fits within my sphere of aptness. I would relish to come on board and start the functioning. I am available to begin in a flash. Rel More

$15 USD / hour
(45 Reviews)
5.1
android2014213

Hi, I can help you in your project. Can configure apache with ssl correctly I can start this project now. Thanks Ashish A.

$50 USD / hour
(42 Reviews)
5.5
imfroge

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.

$15 USD / hour
(5 Reviews)
2.6
TheCloud443

Hi, hope you are doing well. I have an experience in Apache, I can start right now. Please share your details. Thank you

$10 USD / hour
(6 Reviews)
2.4
hashirqureshi01

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

$12 USD / hour
(1 Review)
1.7
volodymyrdubok

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

$12 USD / hour
(0 Reviews)
0.0
AliKhanXZT

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

$8 USD / hour
(0 Reviews)
0.0
msoledadescobar

I can help you to solve this issue by redirecting ports. I think that is what you need...You should use https.

$12 USD / hour
(0 Reviews)
0.0
veselidevelop

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

$20 USD / hour
(0 Reviews)
0.0
ahmadshahzad777

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

$12.75 USD / hour
(0 Reviews)
0.0
ishankaushalya95

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

$12 USD / hour
(0 Reviews)
0.0