# Problem with new installation

**URL:** https://meta.discourse.org/t/problem-with-new-installation/244627
**Category:** Self-hosting
**Created:** [November 7, 2022, 8:30am UTC](https://meta.discourse.org/t/problem-with-new-installation/244627 "2022-11-07T08:30:49Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![jo-andre](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jo-andre/32/291047_2.png) [@jo-andre](https://meta.discourse.org/u/jo-andre)
#### Post date: [November 7, 2022, 8:30am UTC](https://meta.discourse.org/t/problem-with-new-installation/244627/1 "2022-11-07T08:30:49Z")

</div>

Hello. I’ve installed Discourse a few times now without problem. And I did one install yesterday. And it all went ok. But I reinstalled it for some reason. I’ve done as previously. But now I don’t get the discourse register page but a Apache test page instead. I’ve restarted my server. Full wipe. And reinstalled it. Same problem.  
My site \> Forum.byggforum.no  
[Installation steps used](https://www.vultr.com/docs/how-to-install-discourse-on-ubuntu-20-04/)

Thanks for any tips!

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [November 7, 2022, 8:51am UTC](https://meta.discourse.org/t/problem-with-new-installation/244627/2 "2022-11-07T08:51:21Z")

</div>

what happens when you turn off the apache service on your VPS?

---

<div class="post-metadata">

### Author: ![Jagster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagster/32/192154_2.png) [@Jagster](https://meta.discourse.org/u/Jagster)
#### Post date: [November 7, 2022, 8:59am UTC](https://meta.discourse.org/t/problem-with-new-installation/244627/3 "2022-11-07T08:59:01Z")

</div>

How did you setup vhost AND app.yml? Because installation you followed won’t work per se. Apache will hijack ports 80 and 443.

And I don’t know if you are using www.byggforum.no but http gives 302 redirection and https serves error 500. So — Apache2 is broken.

---

<div class="post-metadata">

### Author: ![Fluttercode](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fluttercode/32/280691_2.png) [@Fluttercode](https://meta.discourse.org/u/Fluttercode)
#### Post date: [November 7, 2022, 4:37pm UTC](https://meta.discourse.org/t/problem-with-new-installation/244627/4 "2022-11-07T16:37:17Z")

</div>

Not to insult anyones intelligence, but I always look at the error\_log file whenever I get a default Apache page. It’s usually just a permission error or pointing to a wrong directory.

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [November 7, 2022, 4:44pm UTC](https://meta.discourse.org/t/problem-with-new-installation/244627/5 "2022-11-07T16:44:45Z")

</div>

You aren’t insulting anyone’s intelligence, it’s more that Apache isn’t part of discourse and won’t be installed anywhere if you’re following the [standard install](https://meta.discourse.org/t/142537?silent=true).

@jo-andre You need to provide more information about the server and why Apache is present in the first place.

---

<div class="post-metadata">

### Author: ![jo-andre](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jo-andre/32/291047_2.png) [@jo-andre](https://meta.discourse.org/u/jo-andre)
#### Post date: [November 7, 2022, 6:01pm UTC](https://meta.discourse.org/t/problem-with-new-installation/244627/6 "2022-11-07T18:01:49Z")

</div>

Hey sorry for late respons!

> [@Stephen](#):
>
> @jo-andre You need to provide more information about the server and why Apache is present in the first place.

i have no idea why Apache is running. or installed. this is a fresh server.  
edit: Cant even find it …  
 ![Akward Ok GIF by MASTERPIECE | PBS](https://global.discourse-cdn.com/meta/original/4X/2/0/d/20d211e6ee2b90f825f70591ab8ae23018f865f3.webp)

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [November 7, 2022, 6:24pm UTC](https://meta.discourse.org/t/problem-with-new-installation/244627/7 "2022-11-07T18:24:33Z")

</div>

Could your DNS be set incorrectly?

Does Apache still respond during a server reboot? That’s usually a good clue that it’s not the same system responding.

---

<div class="post-metadata">

### Author: ![jo-andre](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jo-andre/32/291047_2.png) [@jo-andre](https://meta.discourse.org/u/jo-andre)
#### Post date: [November 7, 2022, 7:13pm UTC](https://meta.discourse.org/t/problem-with-new-installation/244627/8 "2022-11-07T19:13:11Z")

</div>

> [@Stephen](#):
>
> Could your DNS be set incorrectly?

yeah, probably. That’s my thing!  
The ip of the server where pointing too the main domain & sub-domain.  
i removed the one pointing to main domain and ill try again.

edit Thanks! i would never tought of that! 😃

Many thanks for helping out @merefield @Jagster @Fluttercode & @Stephen 🥰

---

<div class="post-metadata">

### Author: ![Jagster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagster/32/192154_2.png) [@Jagster](https://meta.discourse.org/u/Jagster)
#### Post date: [November 7, 2022, 8:14pm UTC](https://meta.discourse.org/t/problem-with-new-installation/244627/9 "2022-11-07T20:14:46Z")

</div>

> [@jo-andre](#):
>
> The ip of the server where pointing too the main domain & sub-domain.

That is how it should work, because both are on same IP address. Your vhosts aren’t right, I guess. But one way to fix that is remove ”main domain” from DNS.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [December 7, 2022, 8:15pm UTC](https://meta.discourse.org/t/problem-with-new-installation/244627/10 "2022-12-07T20:15:39Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
