Score:-1

How I can stop the DNS server to transfer directly to my website when access phpmyadmin

in flag

I have 4 web servers on the same domain and when I access 51.32.xx.xx/phpmyadmin It is directly changed to mydomain.com/phpmyadmin how I can stop it to change because I cannot access To another MySQL server

Alien Life Form avatar
ru flag
(1) Do not answer to your question when you add information to the original question: just edit the question. (2) By the looks of it, your example.com.conf sets up an infinite redirect loop to itself (http redirects to https, https redirects - again - to https) (3) It appears you ae going at this by trial and error, which is error prone, time consuming and low pay-off. You should read up on apache's configuration.
Thaer z avatar
in flag
Well, I didn't know, actually, the example.com.conf file didn't exist I created it, and as you said the site is in the HTTPS to HTTPS loop and thanks for the answer
Score:1
ru flag

Assuming apache is your webserver, with centos-like configuration, the "regular" behavior, for non-hostname qualified urls, is to (try to) serve it according to the "main" webserver definition, then according to whatever virtualhost is found first in configuration. If that does not suit you, you'll have to change the alias for phpmyadmin in one/all of your vitualhosts and invoke the proper hostnam-qualified url OR change the alias for the main webserver (usually defined in /etc/httpd/conf.d/phpMyAdmin.conf)

Thaer z avatar
in flag
Thanks for the answer, I have modified the virtual host
Score:0
in flag

There is a problem with HTTPS when I enter HTTP it takes me directly to HTTPS. I solved this problem just by typing the link manually, starting with HTTPS https://52.32.xx.xx/phpmyadmin

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.