How to Change Apache Default Site in Fedora
-
when I try and go to the site, which I am trying to get to https://files.domain.local, I want that to bring up the nextcloud stuff. But it currently brings up the fedora test page. How do I disable the test page and make NC accessible from that URL?
-
You have a few ways. One is to move your Nextcloud install to the root of Apache's default folder, which is
/var/www/html
on Fedora. -
Or you can change your default in your Apache settings from being
/var/www/html
to being where your NextCloud is, which is/var/www/html/nextcloud
. -
which is better? And how do I do either of those? I know zero about apache.
-
@Donahue please stop stating that you were following my guides when you post things that are not in them.
So to pretty up your URL, this is my original instruction.
This post says to make sure of your permissions
https://mangolassi.it/topic/13573/install-nextcloud-11-03-on-fedora-25-minimal/2Then use this post to set it up.
https://mangolassi.it/topic/12878/install-nextcloud-11-0-2-on-centos-7-with-php-7-1-from-remi/2Had you followed the guide, you would have already actually been done.
-
@JaredBusch said in How to Change Apache Default Site in Fedora:
@Donahue please stop stating that you were following my guides when you post things that are not in them.
So to pretty up your URL, this is my original instruction.
This post says to make sure of your permissions
https://mangolassi.it/topic/13573/install-nextcloud-11-03-on-fedora-25-minimal/2Then use this post to set it up.
https://mangolassi.it/topic/12878/install-nextcloud-11-0-2-on-centos-7-with-php-7-1-from-remi/2Had you followed the guide, you would have already actually been done.
sorry, I had not intentionally implied that there was anything wrong with your guides. I think there was just confusion about what I was posting and where it was from. I will try and be more clear. I did not see those earlier guides about NC 11, I had only seen the one about NC 13 on Fedora 27
-
I think the problem is I am trying to do too much, too quickly. I will read up on all the things I have questions with and then post more when I can ask specific questions. There is really too much info I do not know yet, all of this web stuff is completely new to me. I will quiet down with my questions for now.
-
@Donahue said in How to Change Apache Default Site in Fedora:
which is better? And how do I do either of those? I know zero about apache.
Depends on your goals. But I change the Apache default rather than changing the install location.
OR you can make a non-default that uses the Virtual Site.
-
@scottalanmiller said in How to Change Apache Default Site in Fedora:
Depends on your goals. But I change the Apache default rather than changing the install location.
That is what my link above does.
-
Change DocumentRoot in httpd.conf
-
@JaredBusch said in How to Change Apache Default Site in Fedora:
@Donahue please stop stating that you were following my guides when you post things that are not in them.
So to pretty up your URL, this is my original instruction.
This post says to make sure of your permissions
https://mangolassi.it/topic/13573/install-nextcloud-11-03-on-fedora-25-minimal/2Then use this post to set it up.
https://mangolassi.it/topic/12878/install-nextcloud-11-0-2-on-centos-7-with-php-7-1-from-remi/2Had you followed the guide, you would have already actually been done.
alright, your guides worked for removing the /nextcloud, thanks. Sorry again for the confusion.
-
@Donahue said in How to Change Apache Default Site in Fedora:
@JaredBusch said in How to Change Apache Default Site in Fedora:
@Donahue please stop stating that you were following my guides when you post things that are not in them.
So to pretty up your URL, this is my original instruction.
This post says to make sure of your permissions
https://mangolassi.it/topic/13573/install-nextcloud-11-03-on-fedora-25-minimal/2Then use this post to set it up.
https://mangolassi.it/topic/12878/install-nextcloud-11-0-2-on-centos-7-with-php-7-1-from-remi/2Had you followed the guide, you would have already actually been done.
alright, your guides worked for removing the /nextcloud, thanks. Sorry again for the confusion.
Sounds like I need to write a new guide for NC 15 on Fedora 29, and update all the follow on options too.
-
I hadn't realized how similar the guides are between all the versions. They are practically the same.
-
@Donahue said in How to Change Apache Default Site in Fedora:
I hadn't realized how similar the guides are between all the versions. They are practically the same.
Minor changes as things update. I honestly would never have made the Nextcloud 13 one except someone was being a stupid asshat about it being hard to setup.
-
@Donahue said in How to Change Apache Default Site in Fedora:
I hadn't realized how similar the guides are between all the versions. They are practically the same.
In theory, really shouldn't change fundamentally. Most Linux systems are not like Windows and stay quite consistent. They update functionality, speed, security, etc. but don't change how things work to make people learn everything over and over again. Unlike Windows, tactical Linux knowledge tends to be useful for decades, not years. So the differences between versions is often just updating version numbers or links.
-
I thought it was pretty simple once I got past my misunderstandings.