OK, perhaps I should just start over.
First two answers:
1.a. Was it working on Namecheap previously?
Ans: No. "It" being the FTP uploading. The site works fine from any browser.
Even the php scripts (which download files from the federal aviation weather sites) and
cron jobs work fine.
1.b. If so, what changed?
Ans: 30 days ago, the hosting was with Hostgator. That's what changed; I canceled Hostgator
to avoid EIG.
2. Why do you have "public_html" in the ftp address?
Ans: That's what Namecheap "support" keeps telling me to use. However, I think that is because
they think I'm talking about cPanel or an FTP client like Cyberduck.
Skipping to your "assumptions":
I'm assuming here that:
1. mid-southweather.com is the main URL for this account (ie: the one you set up the hosting with)
Answer: Actually, the "primary" account is "mailscamalert.com". Hostgator called mid-southweather a "sub domain". Namecheap says it is an "Addon" domain. Both domains are and were register through Namecheap some years ago.
In reality, I think "sub/addon" is simply the hosting verbage and what is important is the file higherarchy. It is the same at Namecheap as it was at Hostgator, as far as I can remember. The attached image is a partial display of what is seen in cPanel File Manager. To my human eyes, it would appear that mid-southweather is accessed via this path: mailscamalert.com/public_html/mid-southweather.com.
It is possible that Namecheap has that path 'built into' any http request. However, when using Cyberduck to download the index.html file, for example, it is opened in BBEdit with a path of:
ftp://mailscamalert.com/public_html/mid-southweather.com/index.htmlI can edit that file, hit "Save" and it is uploaded by BBEdit (via Cyberduck, I assume).
I can use BBEdit to directly download a file and the path then shows as:
ftp://xairbus2:@mid-southweather.com//public_html/mid-southweather.com/index.html
That is using the default username and password for the entire web space.
Note the
: and the added
@mid-southweather.com to the default username and the double"//" before the public_html!
Since I can get BBEdit to work with FTP, I am going to try using the same path in the weather app. Back shortly...
Nope. Back to Namecheap emails.