מנסה להגדיר את Discourse באתר שלי

הגדרתי את Discourse דרך המסמכים והתקנתי את Discourse על DigitalOcean VPS. שיניתי את כל שרתי השמות ל-DigitalOcean והוספתי את כתובת האתר של הדומיין שלי לפרויקט ב-DigitalOcean.

משום מה זה עדיין מראה את דף הנחיתה של Godaddy??
כיצד אוכל לתקן את הבעיה הזו ולהתחיל להגדיר את Discourse?

2 לייקים

Hello and welcome @Preeminence :slight_smile:

I think moving name servers can take a while to work through the system. There’s a chance you may just need to wait a bit. :crossed_fingers:

(Just as an FYI, though possibly a little late, but there’s no need to move the name servers to install Discourse)

לייק 1

היו לי את שרתי השמות המוגדרים כברירת מחדל של Godaddy וחיכיתי 48 שעות, דף האינטרנט עדיין הציג את דף הנחיתה של Godaddy לאחר התקנת discourse על DigitalOcean VPS (פעלתי לפי כל השלבים במסמך ההתקנה..)

האם עדיין יש משהו פעיל בצד של גודאדי?

The website is bidsturf.com, it keeps redirecting to bidsturf.com/lander

It sounds like you have a stray DNS record somewhere. When I use https://dnschecker.org/ to have a look at http://bidsturf.com/ it does seem that it’s pointing at two places.

You may need to contact godaddy and see if they can remove the redirect if you no longer have access.

לייק 1

אוקיי, אני אצור איתם קשר מחר.

אין צורך לחכות. ״n״nהוסף רשומה בקובץ ה-/etc/hosts שלך המצביעה על הדומיין לכתובת ה-IP של GoDaddy ותראה את האתר שלך.

ניסיתי את זה, עדיין מפנה לדף הנחיתה.

מהצילום מסך שערכת, נראה שאתה מנסה לגשת לקובץ במחשב ה-Windows שלך. כדי להיות בטוח, האם אתה מריץ את Discourse בסביבת פיתוח או בסביבת ייצור?

מצב פיתוח

In that case, you will be running it on localhost, not on a domain. When you run the dev server, go to https://localhost:4200 to see the forum.

לא משנה, רק בדקתי. זה במצב Production, איך אני יכול להעביר אותו בין מצב Prod למצב Dev?

You will have to install a separate forum for development.

I guess since you’re running in production, you can ignore my advice above.

אז האם אני צריך להריץ את זה על DigitalOcean VPS או שזה מיושן?

לא, למיטב ידיעתי, DO בסדר גמור להרצת הפורום שלך עליו.

These are the records I have in DigitalOcean, do I need to set this up for the site to work?

לייק 1

I think you should only have the one A record, but apart from that your dns is resolving nicely when I check https://dnschecker.org/. :partying_face:

I’m not sure what the bottom two A records are for, but I think the www should be a redirect or a cname rather than an A. There’s also some advice on getting a certificate for the second domain as well Set up Let’s Encrypt with multiple domains / redirects

However, you may find it simpler to concentrate on getting your site set up on one first and sort out the second address later.

לייק 1

I went to Godaddy support for the two bottom A Records. I put two because I didn’t know what IP to use.

I opened CMD and pinged the website and got the 143.244… IP address as hostname and added it as A record. The 142.93… one is the VPS IP address.

I don’t which one will work, just trying to display the forum at bidsturf.com ( which still doesnt display at the moment).

But I will perhaps try to remove the 2 bottom A records and add the www as a CNAME.

If they’re added on the advice of godaddy to help sort out the original issue then double check the advice just to make sure it’s entered correctly and leave them in for now. :+1:

Just to confirm, the IP the ‘main’ A record is pointing to is the one of your DO droplet?

If so, I’d try running ./discourse-setup again to see if that brings things to life. :magic_wand: