point domain to different folder and keep ssl

Connect with other users about what to run on your webhosting (and how to run it) here.
Post Reply
mainedan
A regular
A regular
Posts: 39
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Sun Oct 27, 2013 9:34 pm

point domain to different folder and keep ssl

Post by mainedan »

I am trying to figure out if I can point a domain to a folder on my account and be able to keep the ssl. Currently using the lets encrypt version. Both domains are on NFO, and both currently work with their own directory. When I try to use the forward, it says the site is not secure error, when I use the folder is says the connection is not secure on the browser address bar.
Example:
site I want to point to

Code: Select all

domain: example.com
     Subdomain	  Type	        Target
     @            folder        example.com
new site adding

Code: Select all

domain: newexample.com
     Subdomain	    Type	    Target
     @              folder          example.com
Thanks
User avatar
Edge100x
Founder
Founder
Posts: 12945
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: point domain to different folder and keep ssl

Post by Edge100x »

You'd need to use the folder type and make sure that the Let's Encrypt requirements are being met. The most common mistake is having a redirect rule on the hosting that breaks access to ".well-known", preventing certbot from being able to verify the domain.

As long as the requirements are met, our system automatically sets up LE within a few minutes of the Folder entry being set.

The target of the folder does not matter.
Post Reply