Hi there, I have 2 clients added in my ispconfig 3 -- client1 and client2. Client1 has a website added to it, website1.com. Client2 also has a website added, website2.com. However, no matter WHAT I do, EVERYTHING redirects to client1's /web directory. Even my server address, server.domain.com redirects there. I looked here: /etc/httpd/conf/sites-enabled And it has several files, including website1.com and website2.com --However, looking into, say, website2.com.vhost, the filepaths were all correct to go to where they need to go! So what should I do? In my regular httpd.conf file, it has this: Include /etc/httpd/conf/sites-enable - which means that it SHOULD work. Why doesn't it!? Thanks in advance, everyone has been very helpful here.
Does not look like a problem with file paths. Its more a dns or web settings problem. Ensure that: 1) Both domains have a dns A-Record for the domain itself and the subdomain www that point to the IP address of the server. 2) That you selected this IP address in the website settings of both websites. 3) that you entered the domain names as domain.com and not www.domain.com in the domain field. 4) That you enabled auto subdomain www.
Whenever I try to select an IP address, all it has is a '*' instead. Is this ok, or where do I go about changing this to my server IP address?
I've played around with it a bunch, and have deleted all my clients. Now, in the admin tool, with 0 clients, I add 2 websites, with client0 --the default client, as the owner: site1.com site2.com But no matter what I do, everything directs to the first site I created, site1.com --why is that? If you need me to post any vhost entries or anything, let me know.
Please do what i suggested above and select the ip address and not *. if the ip is not listed there, add it under system > server ip.
Hello, I needed to add the server IP address. Thank you so much. You guys are really helpful here, and It's much appreciated.
Now it's redirecting all my sites to /var/www/html, and not using their apache directives. Do I need to redo them all, or is there anything I can change? I made sure I had www on the options, and the ip address of the server was selected. The a-records are correct on the DNS side of things.
I have them all using the IP Address, as you suggested. No site is using the "*". And now, all the traffic is going to /var/www/html -- Is there anything else I can check?