Goodday,
Some time ago we started managing our VPSen ourselves.
This is all still going pretty well.
Now I was wondering if I could solve the following problem. Namely working with autodiscover.
We have always had our VPSen set up as followed by our previous hosting provider.
We have a VPS for handling the mail and a VPS for the websites.
The address of our mail server is therefore mail01.ourwebsite.nl
The websites run on web01.ourwebsite.nl
If there are problems with a web server, customers can continue to use their mail. That was the idea.
But that means that autodiscover will not work for our customers.
Because client softwere like outlook (the most commonly used software by our customers) immediately auto-fill the incoming and outgoing mail server as smtp.theiredomainname.nl or mail.theiredomainname.nl and this won't work because we have our mail01.ourwebsite.nl for incoming and outgoing mail server address.
so our customers must set up their mail account manually. That works but is not the easiest way to work with.
Now I came across this post last week.
Autodiscover information for mail clients to setup pop / imap / smtp settings automatically
https://help.directadmin.com/item.php?id=661
And my thought is can that also work for us?
I've tried it.
I have created a subdirectory: autodiscover.ourwebsite.nl.
Made the php and htacces file
And placed an SRV record in the DNS of one of my test domain names.
_autodiscover._tcp.testdomainname.nl 3600 IN SRV 10 10 443 autodiscover.ourwebsite.nl.
In my first test the following happened.
Nothing!!
The SRV record did not seem to work. (i think)
So I made a different DNS record.
autodiscover CNAME autodiscover.ourwebsite.nl.
In my second test the following happened.
I received an error message in Outlook because the SSL was seen from my webserver and not the mailserver.
That makes sense because the autodiscover script is on the webserver and not on the mailserver.
So to continue my test I have to create a subdirectory on my mailserver.
Now this may sound stupid but I am not sure how to handle this.
How do I create a subdirectory on a VPS that is configured for mail only.
Does it necessarily have to be a subdirectory?
Maybe someone has experience with setting up autodicover on 2 separate VPSs.
Or it might not even be possible?
I'm curious about the responses.
Thanks in advance
R.Hellemons
Some time ago we started managing our VPSen ourselves.
This is all still going pretty well.
Now I was wondering if I could solve the following problem. Namely working with autodiscover.
We have always had our VPSen set up as followed by our previous hosting provider.
We have a VPS for handling the mail and a VPS for the websites.
The address of our mail server is therefore mail01.ourwebsite.nl
The websites run on web01.ourwebsite.nl
If there are problems with a web server, customers can continue to use their mail. That was the idea.
But that means that autodiscover will not work for our customers.
Because client softwere like outlook (the most commonly used software by our customers) immediately auto-fill the incoming and outgoing mail server as smtp.theiredomainname.nl or mail.theiredomainname.nl and this won't work because we have our mail01.ourwebsite.nl for incoming and outgoing mail server address.
so our customers must set up their mail account manually. That works but is not the easiest way to work with.
Now I came across this post last week.
Autodiscover information for mail clients to setup pop / imap / smtp settings automatically
https://help.directadmin.com/item.php?id=661
And my thought is can that also work for us?
I've tried it.
I have created a subdirectory: autodiscover.ourwebsite.nl.
Made the php and htacces file
And placed an SRV record in the DNS of one of my test domain names.
_autodiscover._tcp.testdomainname.nl 3600 IN SRV 10 10 443 autodiscover.ourwebsite.nl.
In my first test the following happened.
Nothing!!
The SRV record did not seem to work. (i think)
So I made a different DNS record.
autodiscover CNAME autodiscover.ourwebsite.nl.
In my second test the following happened.
I received an error message in Outlook because the SSL was seen from my webserver and not the mailserver.
That makes sense because the autodiscover script is on the webserver and not on the mailserver.
So to continue my test I have to create a subdirectory on my mailserver.
Now this may sound stupid but I am not sure how to handle this.
How do I create a subdirectory on a VPS that is configured for mail only.
Does it necessarily have to be a subdirectory?
Maybe someone has experience with setting up autodicover on 2 separate VPSs.
Or it might not even be possible?
I'm curious about the responses.
Thanks in advance
R.Hellemons