Hi all.
system used:
Code:
uname -a
Linux aaa.bbb 3.10.0-862.el7.x86_64 #1 SMP Fri Apr 20 16:44:24 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
I installed a server(I'm in a hurry again) about 1,5 weeks ago using CentOS 7 and after about 5 minutes of googling I found out the how .conf-files should be of a subdomain.
It all worked OK but later I did the thing a Linux Admin SHOULD NOT DO!!!!
Using runninglevel 3(as always) I changed to a directory, as I thought, but I wrote a little wrong so I happened to be in root-dir and there I did 'rm -rf'. I saw what happened so I CTRL-C it but as I knew, that system was gone.
Now I reinstalled it again but THIS time I just can not find the apache-subdomain-conf-file-example-thing and I just can't get it to work.
I've been doing this for 5 days now and still nothing works.
'DocumentRoot' is set to the directory of the main domain name.
As I can't recall at all how the conf-file looked like I gotta ask;
YES, I googled my a$$ of for this, this 2nd time and nothing works. Also tried different browsers on different devices and still nothing, so no cash problems
-?- Do I have to have the subdomain-directives in the same .conf-file as the 'main' domain as some google-result says? (tried that and it didn't work, if I did it correctly)
I probably have missed showing you info about the system but I don't know what to show.
It's a "normal" CentOS 7 installation and its' versions all the latest applications.
I'm about to give up even though I already got it working like 1 week ago.