# WARNING: Port 443 of computer does not appear to be accessible using hostname: \<mydomain\>.com

**URL:** https://meta.discourse.org/t/warning-port-443-of-computer-does-not-appear-to-be-accessible-using-hostname-mydomain-com/272567
**Category:** Self-hosting
**Created:** [September 2, 2024, 10:00pm UTC](https://meta.discourse.org/t/warning-port-443-of-computer-does-not-appear-to-be-accessible-using-hostname-mydomain-com/272567 "2024-09-02T22:00:00Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![shibi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/shibi/32/317128_2.png) [@shibi](https://meta.discourse.org/u/shibi)
#### Post date: [September 2, 2024, 10:00pm UTC](https://meta.discourse.org/t/warning-port-443-of-computer-does-not-appear-to-be-accessible-using-hostname-mydomain-com/272567/1 "2024-09-02T22:00:00Z")

</div>

app was not started !

./discourse-doctor may help diagnose the problem.

./discourse-setup: line 260: \*0: syntax error: operand expected (error token is “\*0”)

Hostname for your Discourse? [[discourse.example.com](http://discourse.example.com)]: .com

Checking your domain name . . .

WARNING: Port 443 of computer does not appear to be accessible using hostname: .com.

WARNING: Connection to http://.com (port 80) also fails.

This suggests that .com resolves to some IP address that does not reach this

machine where you are installing discourse.

The first thing to do is confirm that .com resolves to the IP address of this server.

You usually do this at the same place you purchased the domain.

If you are sure that the IP address resolves correctly, it could be a firewall issue.

A web search for “open ports YOUR CLOUD SERVICE” might help.

This tool is designed only for the most standard installations. If you cannot resolve

the issue above, you will need to edit containers/app.yml yourself and then type

./launcher rebuild app

I have couple questions :

- I have .com and there is site already running . Now I want to run discourse as .com/discourse . The app is running in front of load balancer . But do i need to anything on discourse side

- what port discourse is running ?

- When i do curl I can reach to the site but why discourse setup is erroring out

- is it ok ignore mail setup

---

<div class="post-metadata">

### Author: ![hello-smile6](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hello-smile6/32/304628_2.png) [@hello-smile6](https://meta.discourse.org/u/hello-smile6)
#### Post date: [September 2, 2024, 10:21pm UTC](https://meta.discourse.org/t/warning-port-443-of-computer-does-not-appear-to-be-accessible-using-hostname-mydomain-com/272567/2 "2024-09-02T22:21:48Z")

</div>

> [@shibi](#):
>
> .com

That should be your actual domain name, not just a TLD.

---

<div class="post-metadata">

### Author: ![shibi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/shibi/32/317128_2.png) [@shibi](https://meta.discourse.org/u/shibi)
#### Post date: [September 2, 2024, 10:37pm UTC](https://meta.discourse.org/t/warning-port-443-of-computer-does-not-appear-to-be-accessible-using-hostname-mydomain-com/272567/3 "2024-09-02T22:37:08Z")

</div>

Not sure if it was replaced , but value is [mydomain.com](http://mydomain.com) . I placed it between \< and \>

---

<div class="post-metadata">

### Author: ![shibi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/shibi/32/317128_2.png) [@shibi](https://meta.discourse.org/u/shibi)
#### Post date: [September 2, 2024, 11:15pm UTC](https://meta.discourse.org/t/warning-port-443-of-computer-does-not-appear-to-be-accessible-using-hostname-mydomain-com/272567/4 "2024-09-02T23:15:05Z")

</div>

I could find port is 80

---

<div class="post-metadata">

### Author: ![italo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/italo/32/315833_2.png) [@italo](https://meta.discourse.org/u/italo)
#### Post date: [September 2, 2024, 11:41pm UTC](https://meta.discourse.org/t/warning-port-443-of-computer-does-not-appear-to-be-accessible-using-hostname-mydomain-com/272567/5 "2024-09-02T23:41:40Z")

</div>

Hi there, Shibi

I’m still new here, but I runned into a similar situation last week. The easiest way to use your domain for two different servers is by using a sub-domain. You can do that by creating an A Record on your DNS provider specifying the hostname as [sub-domain.your-domain.com](http://sub-domain.your-domain.com/), or just the sub-domain, and then point out the IP of the discourse instance.

This [article](https://www.namecheap.com/support/knowledgebase/article.aspx/9776/2237/how-to-create-a-subdomain-for-my-domain/) may help with the above solution.

> [@shibi](#):
>
> I have .com and there is site already running . Now I want to run discourse as .com/discourse . The app is running in front of load balancer . But do i need to anything on discourse side

The solution I suggested above may help you with that. I think this way of using it as a resource for your other application may be harder to set up.

> [@shibi](#):
>
> what port discourse is running ?

By using the official cloud setup script, it will run on port 80 by default.

> [@shibi](#):
>
> When i do curl I can reach to the site but why discourse setup is erroring out

Could you please give more details on that?

> [@shibi](#):
>
> is it ok ignore mail setup

If you do so, you won’t be able to send any emails like invitations and account register confirmations. But probably you can’t ignore the smtp setup.

> [@shibi](#):
>
> WARNING: Port 443 of computer does not appear to be accessible using hostname: .com.  
> WARNING: Connection to http://.com (port 80) also fails.

By the way, 443 is the HTTPS port, it is used to establish the encryption. This means your domain is probably not configured correctly and the Discourse setup is not being able to reach your server.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [September 2, 2024, 11:51pm UTC](https://meta.discourse.org/t/warning-port-443-of-computer-does-not-appear-to-be-accessible-using-hostname-mydomain-com/272567/6 "2024-09-02T23:51:22Z")

</div>

> [@shibi](#):
>
> I placed it between \< and \>

That’s the problem. Just type the full name with no spaces and no angle brackets.

And now your app.yml is broken. The easiest thing will be to

`rm containers/app.yml`

and start over.

---

<div class="post-metadata">

### Author: ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)
#### Post date: [September 3, 2024, 12:45am UTC](https://meta.discourse.org/t/warning-port-443-of-computer-does-not-appear-to-be-accessible-using-hostname-mydomain-com/272567/7 "2024-09-03T00:45:30Z")

</div>

I suspect he meant he placed it between \<\> _in the post_ when he replaced his actual domain (see [https://meta.discourse.org/raw/272567/1](https://meta.discourse.org/raw/272567/1))

---

<div class="post-metadata">

### Author: ![italo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/italo/32/315833_2.png) [@italo](https://meta.discourse.org/u/italo)
#### Post date: [September 3, 2024, 12:54am UTC](https://meta.discourse.org/t/warning-port-443-of-computer-does-not-appear-to-be-accessible-using-hostname-mydomain-com/272567/8 "2024-09-03T00:54:04Z")

</div>

> [@shibi](#):
>
> This suggests that .com resolves to some IP address that does not reach this

He said he is using this domain for another application, I believe the best way to go is setting up a sub-domain. Otherwise one would have to manually set up Nginx to serve both the prior app and Discourse in a resource route.

---

<div class="post-metadata">

### Author: ![shibi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/shibi/32/317128_2.png) [@shibi](https://meta.discourse.org/u/shibi)
#### Post date: [September 3, 2024, 3:10am UTC](https://meta.discourse.org/t/warning-port-443-of-computer-does-not-appear-to-be-accessible-using-hostname-mydomain-com/272567/9 "2024-09-03T03:10:54Z")

</div>

yes - I was talking about post

---

<div class="post-metadata">

### Author: ![shibi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/shibi/32/317128_2.png) [@shibi](https://meta.discourse.org/u/shibi)
#### Post date: [September 3, 2024, 7:13am UTC](https://meta.discourse.org/t/warning-port-443-of-computer-does-not-appear-to-be-accessible-using-hostname-mydomain-com/272567/10 "2024-09-03T07:13:47Z")

</div>

Yes more thinking about solution thats Nginx , but wasn’t sure if its any internal config

---

<div class="post-metadata">

### Author: ![shibi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/shibi/32/317128_2.png) [@shibi](https://meta.discourse.org/u/shibi)
#### Post date: [September 3, 2024, 7:16am UTC](https://meta.discourse.org/t/warning-port-443-of-computer-does-not-appear-to-be-accessible-using-hostname-mydomain-com/272567/11 "2024-09-03T07:16:26Z")

</div>

Thanks @italo . I was able to solve most of issues currently stuck at mail config

---

<div class="post-metadata">

### Author: ![italo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/italo/32/315833_2.png) [@italo](https://meta.discourse.org/u/italo)
#### Post date: [September 3, 2024, 7:23am UTC](https://meta.discourse.org/t/warning-port-443-of-computer-does-not-appear-to-be-accessible-using-hostname-mydomain-com/272567/12 "2024-09-03T07:23:15Z")

</div>

I’m glad I could help! 🙂

For the email setup you will need an SMTP service, this [tutorial](https://github.com/discourse/discourse/blob/main/docs/INSTALL-email.md) has a list of the ones Discourse recommend. Although Gmail, Outlook and Yahoo have an SMTP option, they don’t support transactional emails, which is needed.
