You are viewing a single comment's thread from:

RE: Servers 101: Setting up a Web Server part 3 - SSL

in #tutorial8 years ago (edited)

So it is recommended to use a CName without using an A record? For example, if I were to use the following setup for the domain spaiglas.com...

A Record : IP address (of my server)
CName : mine.ddns.net

In that case it would be best to not use an A record at all? I've been told you can't use CNames without an A record, that you need an A record, so I'm kind of confused. I tried deleting the A record for my domain and it was inaccessible. It would throw errors saying the server was not found, even though a CName existed :/

Yes, I've already set up port forwarding. The fact that I can't access my own server locally via the WAN IP address, from what I've read, can be addressed with something like NAT loopback/hairpinning/reflection?

Apparently I can access the server via https://its.internal.ip.address:443, but the browser seems to ignore the SSL certificate, which isn't a huge deal at the end of the day, unless it's also doing this for external requests too.

What I meant by that comment is of course the file structure on the server must be structured in such a way that a PHP file which references a database will need to be able to locate said database. In other words, can a given database be accessed from any subfolder of the apache2 default folder?

Yes, I know. My site will never be that popular, however. No more than 10 people will ever have access to my website and it is very likely there will never be more than 3 people concurrently using it. I have more than enough bandwidth for to handle this. I've got after market cooling for my CPU, which should be sufficient; I know you're talking about cooling the entire environment, so that all hardware components stay cool, but this won't be necessary. This route will in fact save me quite a bit of money without cutting into my revenue as much.

Thanks again for taking the time to answer my questions. And thanks for the DNS Record Types link. <3