Categories
Others

How to create a subdomain and link with in Cloudflare?

In this article I will discuses how create and pointing a new subdomain if your existing domain is configure and point to Cloudflare.

Subdomain link with Cloudflare

First you want to create subdomain in Namecheap, Siteground, Godaddy or your existing hosting server. It’s requires you to add the CNAME record on Cloudflare pointing to your registered domain.

Login into your Cloudflare account, click on the active domain in which you need to create this subdomain. Click on DNS from left menu and click on Add record button.

Enter the subdomain as the name for instance add “staging” (or what you want) name here. In the target add your registered domain name example yourdomain.com

Finally click on Save button.

Cloudflare is quick you should be able to reach the sub domain as soon as (within 10 or 20 minutes) you added.

Thank you for carefully read my article If you have any query please Leave your query on following comment section or contact with us. Hope it will help you.

Categories
Laravel

Laravel – Failed to authenticate on SMTP server with username using 3 possible authenticators

If you still get following error (Failed to authenticate on SMTP server with username) when sending email please follow below steps.

Swift_TransportException

Failed to authenticate on SMTP server with username “yourid@gmail.com” using 3 possible authenticators. Authenticator LOGIN returned Expected response code 235 but got code “535”, with message “535-5.7.8 Username and Password not accepted. Learn more at 535 5.7.8 https://support.google.com/mail/?p=BadCredentials c17-20020a170902d49100b001624cd63bbbsm4334145plg.133 – gsmtp “. Authenticator PLAIN returned Expected response code 235 but got code “535”, with message “535-5.7.8 Username and Password not accepted. Learn more at 535 5.7.8 https://support.google.com/mail/?p=BadCredentials c17-20020a170902d49100b001624cd63bbbsm4334145plg.133 – gsmtp “. Authenticator XOAUTH2 returned Expected response code 250 but got code “535”, with message “535-5.7.8 Username and Password not accepted. Learn more at 535 5.7.8 https://support.google.com/mail/?p=BadCredentials c17-20020a170902d49100b001624cd63bbbsm4334145plg.133 – gsmtp “.

Step 1:

Please login into your gmail account and click on “Manage your Google Account” button form right to your profile picture.

Manage your Google Account

Step 2:

Go to to Security tab form left menu and please turn on 2-Step Verification by using your Recovery Phone.

2-Step Verification

Step 3:

Click on App Password bar form Sign in to Google section.

App Password

Step 4:

Select the app and device you want to generate the app password for. And enter a platform name and click on GENERATE button to generate new password.

Generated password

Finally copy your new generated password and save it your self also use it to your other device or app where you want to send SMTP email.

Step 5:

Now change password on Laravel .env file MAIL_PASSWORD value with new generated password.

Thank you for carefully read my article If you have any query please Leave your query on following comment section or contact with us. Hope it will help you.