Needing some help

This is the place to discuss the LiveCode Hosting service.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
agraham147
Posts: 54
Joined: Thu Apr 19, 2018 6:18 am

Needing some help

Post by agraham147 » Thu Sep 19, 2024 2:17 pm

Hi guys,

I've been a user of LiveCode since 2017 and I've used it to develop a software system which consists of 3 or 4 different applications. I would now like to allow my system to communicate to a web host to store and retrieve data on a database. Over the past few weeks, I have bought a book on JavaScript and learned that along with a bit of HTML and CSS as I would now like to develop a website which shows some data from the database which in turn has come from my software applications. I am relatively new to web development and so I'm still trying to understand certain concepts.

I purchased a cPanel LiveCode hosting account and I have already created the home page for my website using Visual Studio Code. I have uploaded the website files into the correct file directory (document root) on my cPanel but when I clicked the link to the open the domain, "Site cannot be reached". After doing some research I then found out that you have to purchase domains in order to use them. I've purchased a domain from HostGator and then after doing some searching around on here, I discovered that I have to "point" my domain's names servers to cPanel. In a form discussion from 2018, an administrator answered someone's question by stating to point the domain's name servers to "ns1.on-rev.com, ns2.on-rev.com and ns3.on-rev.com". I have tried but HostGator returns with "Host name invalid! It must be associated with a domain that you control!"

Can anyone explain what I'm doing wrong here? It would be very much appreciated.

Thanks,
Aaron

matthiasr
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 195
Joined: Sat Apr 08, 2006 7:55 am
Contact:

Re: Needing some help

Post by matthiasr » Thu Sep 19, 2024 3:04 pm

Hi,

there is no need for a new domain. Your account can be accessed using the default domain which is

<yourAccountname>.livecodehosting.com


Regarding the nameservers.

There are 2 options to let a domain name pointing to your account.

1. The recommended option is to tell HostGator that external nameservers are managing the dns entries for your domain.
This would be the name servers Livecodehosting is providing.
They are
- ns1.on-rev.com
- ns2.on-rev.com
- ns3.on-rev.com

2. The other option would be to manage your domain using the HostGator name servers. In this case you would have to ask Livcodehosting support to setup that for you. But please keep in mind. Although there still dns settings listed in the cPanel account for the domain, you always have to modify the settings at HostGator. Any DNS settings done in your LivecodeHosting account are ignored.

I would try to use your default domain name first to see if your website is accessible.

agraham147
Posts: 54
Joined: Thu Apr 19, 2018 6:18 am

Re: Needing some help

Post by agraham147 » Thu Sep 19, 2024 4:26 pm

Hi matthiasr,

Thanks very much for replying to me.

I'm finding this rather frustrating as I'm new to web development and some things are not really making much sense. I have gone onto my HostGator account and I have removed their DNS's and replaced them with the 3 that you have provided. Now when I go onto my cPanel and click the link to my domain name it returns "403 Forbidden. You don't have permission to access this resource." whereas before it was simply replying with "Site cannot be reached." Is this normal or instead should I email HostGator and inform them that I would like to point my domain to LiveCode's DNS?

Apologies for not understanding. I would like to be able to understand more about this in order to move forward.

Thanks,
Aaron

agraham147
Posts: 54
Joined: Thu Apr 19, 2018 6:18 am

Re: Needing some help

Post by agraham147 » Thu Sep 19, 2024 8:56 pm

Hi again,

It seems to be working now. Although my website which is just a HTML file will still not show up when I go to the domain name. It shows "403 Foridden. You don't have permission to access this resource." Yet if I use cPanel to create a default website using Sitejet it display that website with no issues at all. Can someone help as to what I may have to do in order for my own website to be accessible?

Thanks very much
Aaron

Post Reply

Return to “LiveCode Hosting”