Welcome to nginx instead of start page

AI-generated summary

After installing Discourse using the instructions in INSTALL-cloud.md, Juan_M_Cresc is experiencing issues where instead of reaching the Discourse start page, they are seeing a “Welcome to nginx” message on their website (foro.vuela.cc). Juan_M_Cresc also mentions that after a few minutes, they are redirected to an IP address instead of seeing the expected content. itsbhanusharma suggests that there may be an issue with the DNS configuration and asks Juan_M_Cresc to share how they configured their domain to point to the server IP.

I have installed following instructions at:

/discourse/discourse/blob/master/docs/INSTALL-cloud.md

When I enter my website (foro.vuela.cc) I get a welcome message from nginx. This is the last output of the installation process:

  • /usr/bin/docker run --shm-size=512m -d --restart=always -e LANG=en_US.UTF-8 -e RAILS_ENV=production -e UNICORN_WORKERS=4 -e UNICORN_SIDEKIQS=1-e RUBY_GLOBAL_METHOD_CACHE_SIZE=131072 -e RUBY_GC_HEAP_GROWTH_MAX_SLOTS=40000 -e RUBY_GC_HEAP_INIT_SLOTS=400000 -e RUBY_GC_HEAP_OLDOBJECT_LIMIT_FACTOR=1.5 -e DISCOURSE_DB_SOCKET=/var/run/postgresql -e DISCOURSE_DB_HOST= -e DISCOURSE_DB_PORT= -e LETSENCRYPT_DIR=/shared/letsencrypt -e DISCOURSE_HOSTNAME=foro.vuela.cc -e DISCOURSE_DEVELOPER_EMAILS=juan.crescente@gmail.com -e DISCOURSE_SMTP_ADDRESS=smtp.mailgun.org -e DISCOURSE_SMTP_PORT=587 -e DISCOURSE_SMTP_USER_NAME=foro@foro.vuela.cc -e DISCOURSE_SMTP_PASSWORD=**** -e LETSENCRYPT_ACCOUNT_EMAIL=foro@foro.vuela.cc -h utils3-app -e DOCKER_HOST_IP=172.17.0.1 --name app -t -p 80:80 -p 443:443 -v /var/discourse/shared/standalone:/shared -v /var/discourse/shared/standalone/log/var-log:/var/log --mac-address 02:4d:d7:8a:b3:5a local_discourse/app /sbin/boot
    de521f3364e373f66a073eeb1f17fa75b37c28cc16f96b2733f862c490864d9d

What am I missing here? thanks!

More data

ls containers
app.yml app.yml.2018-09-17-130632.bak app.yml.2018-09-17-131102.bak app.yml.2018-09-17-131227.bak app.yml.2018-09-17-133742.bak

./launcher restart app

  • /usr/bin/docker stop -t 10 app
    app

starting up existing container

  • /usr/bin/docker start app
    app

So after 3 or 4 minutes, it redirects to an IP instead of showing anything.

Can You share how did you configure your domain to point at server IP? Seems like there is something wrong with the DNS.