namecheap

Cannot upload media files on CPanel (using django)

落爺英雄遲暮 提交于 2020-11-25 02:56:46
问题 I am not able to upload my media files on Cpanel. Initially I was able to upload files but now it shows Error 404 URL Not Found. There is nothing wrong with my code or my url as it works fine on localhost. I have checked for permissions of directory in my CPanel File Manager (its 0755). I have specified + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT) in my urls.py file. My settings.py is: MEDIA_ROOT = '/my/path/public_html/media' MEDIA_URL = '/media/' I am using Django=2.1 and

GitHub Pages https/www Redirect

孤者浪人 提交于 2020-05-07 11:02:40
问题 How can I get https://www.test.com to redirect to https://test.com when using GitHub pages to host a static website? I recently enabled TLS (provided by GitHub/Lets Encrypt) for my static site by setting A records at my DNS provider (namecheap). I've also chosen to "Enforce HTTPS" option in my GitHub repository's settings, which handles redirecting requests from http://test.com to https://test.com. I have a redirect configured through my DNS provider which forwards http://www.test.com to

Send Nodemailer e-mail with Namecheap email

南楼画角 提交于 2020-03-02 12:19:24
问题 I have been successful connecting a Gmail account with Xoauth, but I recently acquired a Namecheap privateemail account and can't for the life of me figure out how to set it up. This is the code that I have: var smtp = nodemailer.createTransport({ host: 'mail.privateemail.com', port: 25, auth: { user: 'contact@myemail.com', pass: 'mypassword' } }); I saw this question and tried all the other port numbers. 回答1: It may be secured connection in that case the port should be 465 465 port for SSL,

Send Nodemailer e-mail with Namecheap email

假装没事ソ 提交于 2020-03-02 12:18:11
问题 I have been successful connecting a Gmail account with Xoauth, but I recently acquired a Namecheap privateemail account and can't for the life of me figure out how to set it up. This is the code that I have: var smtp = nodemailer.createTransport({ host: 'mail.privateemail.com', port: 25, auth: { user: 'contact@myemail.com', pass: 'mypassword' } }); I saw this question and tried all the other port numbers. 回答1: It may be secured connection in that case the port should be 465 465 port for SSL,

Namecheap domain won't redirect without “www”

那年仲夏 提交于 2020-02-22 07:17:07
问题 I'm looking to connect my domain to a heroku app. So far, the tutorials I've read say we want Namecheap to have the following records for domain example.com : CNAME Record www www.example.com.herokudns.com URL Redirect @ https://www.example.com With this config, I can successfully get to my homepage using: http://example.com/ http://www.example.com/ https://www.example.com/ But for some reason http://example.com/ won't connect and times out. Does anyone know if there's a way to get both https

Namecheap domain won't redirect without “www”

落爺英雄遲暮 提交于 2020-02-22 07:16:46
问题 I'm looking to connect my domain to a heroku app. So far, the tutorials I've read say we want Namecheap to have the following records for domain example.com : CNAME Record www www.example.com.herokudns.com URL Redirect @ https://www.example.com With this config, I can successfully get to my homepage using: http://example.com/ http://www.example.com/ https://www.example.com/ But for some reason http://example.com/ won't connect and times out. Does anyone know if there's a way to get both https

Redirect https://example.com to https://www.example.com: Namecheap and Heroku

夙愿已清 提交于 2020-01-12 03:31:11
问题 I'm trying to redirect all requests to: https://example.com http://www.example.com http://example.com to https://www.example.com . I'm using Heroku and Namecheap. Here are my steps: In Heroku, I added www.example.com to my domains, and enabled SSL. On Namecheap, I created a CNAME record with host www to www.example.com.herokudns.com. On Namecheap, I created a URL Redirect record with host @ to https://www.example.com/ . With these steps, everything works well as long as I redirect http

Connecting domain name from namecheap to firebase

扶醉桌前 提交于 2019-12-23 02:52:31
问题 Has anyone encountered this bug for connecting to firebase hosting with namecheap? 回答1: You need to put "@" , in the A records for Host instead of your url(ex: devspace.co). 回答2: I had the same issue and spoke with both Firebase and NameCheap support. Turns out that Firebase doesn't like to see any other addresses but it's own, and NameCheap's "URL Redirect" entry that appears to be on by default causes the extraneous A record to show up. 来源: https://stackoverflow.com/questions/43555274

Connection Refused using PHPMailer with Namecheap Accounts

徘徊边缘 提交于 2019-12-23 01:12:30
问题 I have been using the code below to try to send emails out to people who sign up on my website however I can not get the code to work with my namecheap hosted email account. This namecheap email configuration was used but it seems to still give me an error. I have tried the same code with the hotmail settings and it works just fine. Error 2016-06-17 09:28:33 SMTP ERROR: Failed to connect to server: Connection refused (61) 2016-06-17 09:28:33 SMTP connect() failed. https://github.com/PHPMailer

configuring namecheap domains with heroku

眉间皱痕 提交于 2019-12-22 04:50:31
问题 I have a app on heroku(paid dyno): https://example.herokuapp.com/ I have purchased a domain: www.example.com After reading multiple guides I can't figure out how to do the following: point domain to my heroku app(with SSL) configure a subdomain like api.example.com The overall goal is to have a domain like api.example.com Thanks. NOTE: Please do not simply link to documents from heroku and namecheap. I have read them all, and they are out of date/unspecific. 回答1: I have just done something