Jump to content
Froxlor Forum
  • 0

Forward WWW to XXXXX.TLD and lets encrypt


a7hybnj2

Question

I just stumbled through installing Froxlor and so far am quite satisfied.

I have a self signed cert on the Froxlor host  (Is there a way to make this a lets encrypt cert?) and I used that for setting up "IPs and Ports" for the ip:80 and ip:443.

I then tried to do a lets encrypt cert on my domain with WWW set as the ServerAlias running "php /var/www/html/froxlor/scripts/froxlor_master_cronjob.php --letsencrypt --debug" gives me "[error] Could not get Let's Encrypt certificate for XXXXX.com: Curl error: Could not resolve host: www.XXXXX.com"

But, when I set ServerAlias to 'no alias' and run the cronjob.php --letsencrypt it works perfectly.

 

So, What I want is a way to forward www.XXXXX.com to XXXXX.com or to use the alias.There are just so many people that default to typing www in front of the domain name I don't want that to result in a "can't find server" error.

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0
6 hours ago, a7hybnj2 said:

s there a way to make this a lets encrypt cert?

Settings - froxlor vhost settings

6 hours ago, a7hybnj2 said:

Could not resolve host: www.XXXXX.com"

Does www.XXXX.com have a valid a record? Or is there a wildcard a record for XXXX.com? In any case, it's a DNS issue

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...