I have something weird going on here. I've setup a subdomain on my server and I've created a virtualhost entry for it. I'm running Apache 2.4.27. I have the DNS entries configured.
On the computers I've tested, it works just fine. I go to git.example.com and I see the GitLab login screen. On my wifes cell phone, it works just fine. I go to git.example.com, I see the GitLab login screen.
On my cell phone, on my friend's cell phone (much cheaper cell phones), I go to git.example.com, and I see example.com's website, not GitLab's login screen.
I check the log files. I have custom logs setup for git.example.com and when I use her cell phone, or the computers, I see the connections in the custom logs for git.example.com. But when I use my cell phone or my friend uses his, the data does appear only in the example.com log files.
Any idea what's going on here? I've cleared the cache in Chrome on the cell. I've removed site data on Chrome. I've tried it in Incognito Mode, thinking it was some sort of caching issue. It's very frustrating.
Here's the log file where I connect with my cell and it actually goes to the example.com's website instead of git.example.com's website (with my IPv4 home address removed):
The favicon.ico doesn't exist for example.com, but it does exist for git.example.com. The DocumentRoot for git.example.com is /opt/gitlab/embedded/service/gitlab-rails/public The DocumentRoot for example.com is /home/sporkschivago/public_html/
It's like for whatever reason, the DocumentRoot for git.example.com isn't being honored when I use the cell phone.
I just try again now, a good 20 minutes later. This is all that's in the logfile:
Now it doesn't even show the git.example.com
Thank you!!!!
On the computers I've tested, it works just fine. I go to git.example.com and I see the GitLab login screen. On my wifes cell phone, it works just fine. I go to git.example.com, I see the GitLab login screen.
On my cell phone, on my friend's cell phone (much cheaper cell phones), I go to git.example.com, and I see example.com's website, not GitLab's login screen.
I check the log files. I have custom logs setup for git.example.com and when I use her cell phone, or the computers, I see the connections in the custom logs for git.example.com. But when I use my cell phone or my friend uses his, the data does appear only in the example.com log files.
Any idea what's going on here? I've cleared the cache in Chrome on the cell. I've removed site data on Chrome. I've tried it in Incognito Mode, thinking it was some sort of caching issue. It's very frustrating.
Here's the log file where I connect with my cell and it actually goes to the example.com's website instead of git.example.com's website (with my IPv4 home address removed):
Code:
192.168.1.2 - - [04/Aug/2017:09:02:55 -0400] "GET /favicon.ico HTTP/1.1" 404 - "https://git.example.com/" "Mozilla/5.0 (Linux; Android 6.0.1; SM-S120VL Build/MMB29M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.125 Mobile Safari/537.36" 192.168.1.2 - - [04/Aug/2017:09:09:41 -0400] "GET / HTTP/1.1" 200 1790 "-" "Mozilla/5.0 (Linux; Android 6.0.1; SM-S120VL Build/MMB29M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.125 Mobile Safari/537.36" 192.168.1.2 - - [04/Aug/2017:09:12:52 -0400] "GET / HTTP/1.1" 200 1790 "-" "Mozilla/5.0 (Linux; Android 6.0.1; SM-S120VL Build/MMB29M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.125 Mobile Safari/537.36"
It's like for whatever reason, the DocumentRoot for git.example.com isn't being honored when I use the cell phone.
I just try again now, a good 20 minutes later. This is all that's in the logfile:
Code:
192.168.1.2 - - [04/Aug/2017:09:35:37 -0400] "GET / HTTP/1.1" 200 1790 "-" "Mozilla/5.0 (Linux; Android 6.0.1; SM-S120VL Build/MMB29M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.125 Mobile Safari/537.36"
Thank you!!!!
Comment