There are no enabled repos
[root@fedora ~]# dnf -y install httpd
Warning: failed loading '/etc/yum.repos.d/fedora-modular.repo', skipping.
Warning: failed loading '/etc/yum.repos.d/fedora-updates-modular.repo', skipping.
Warning: failed loading '/etc/yum.repos.d/fedora-updates.repo', skipping.
Warning: failed loading '/etc/yum.repos.d/fedora.repo', skipping.
Error: There are no enabled repos.
Changing the connection destination will not solve it
You can enable them either manually by changing
enabled=0
toenabled=1
in each *.repo file or through dnf itself. Example:dnf config-manager --set-enabled fedora-updates