Portal Home > Knowledgebase > Articles Database > Strange domain problem on dedicated IP - Plesk


Strange domain problem on dedicated IP - Plesk




Posted by magdesign, 10-09-2007, 10:35 AM
Hi all, I have a domain which currently times out. If you go to the secure (https) then it works fine. The httpd.include file for the domain is ok: Also, if you go to the IP 87.117.194.71 then it times out. If you go to secure 87.117.194.71 it works ? This is a dedicated IP, only this domain is configured for it. I have other domains setup on this server and they all work fine, some are on a shared ip and some on a dedicated ip but this is the only one that will not work. Can anyone help ? I can't post URL's as this is my first post ! Thanks

Posted by maestriatech, 10-09-2007, 05:39 PM
Hi, Check if there is any firewall rule which is blocking port 80. You can try stopping the firewall and access the domain. Also you could try reconfiguring the virtual host, using /usr/local/psa/admin/sbin/websrvmng --reconfigure-vhost --vhost-name=magga.co.uk

Posted by magdesign, 10-10-2007, 04:01 AM
Hi, Thanks for your response, I had already tried disabling the firewall but this made no difference. I tried your second suggestion but the problem is still there Any more suggetions ?

Posted by david510, 10-10-2007, 04:51 AM
Is line present in the httpd.conf file? NameVirtualHost 87.117.194.71:80

Posted by magdesign, 10-10-2007, 04:54 AM
Hi David, Yes in the httpd.conf, it includes various http.include files including the one for this domain which does have the as shown above. I would paste part of it in but as it has domains in it, the forum thinks they are links and it doesn't let me.

Posted by david510, 10-10-2007, 05:12 AM
Just mark them as xxxx or something, or put spaces in between. We still will be able to understand.

Posted by magdesign, 10-10-2007, 05:31 AM
Ok David: In the zz010_psa_httpd.conf is: Include /var/www/vhosts/xxx/conf/httpd.include And in /var/www/vhosts/xxx/conf/httpd.include are the Virtual Host Blocks: ServerName xxxx:80 ServerAlias xxxx UseCanonicalName Off and ServerName xxxx:443 ServerAlias xxxx The domain is magga dot co dot uk so you can try it and see what happens... it's a very strange issue.

Posted by david510, 10-10-2007, 06:59 AM
You can try manually listen all IPs on your server to port 80 in the main httpd.conf file as follows. Take a backup of the conf file first. Search for the directive Listen in httpd.conf file and add below. Listen IP1:80 Listen IP2:80 Listen IP3:80 Listen IP4:80 Give all IPs in your server as above. Also add Listen 127.0.0.1:80

Posted by magdesign, 10-10-2007, 08:12 AM
Hi David, Thanks for this, this has fixed the issue. Why would I need to add that manually though, I thought Plesk should add this automatically ? Also, there are no listens in there for these ip's on port 443, yet it worked ok on that port - do you know why this might be ? Thanks

Posted by david510, 10-10-2007, 08:46 AM
Normally If no Listen directive is specified all IPs aliased will be listening to the port 80. To find out exactly why this was not working, a quick look through the conf is needed. Anyway there is no issue in using Listen directive explicitly.

Posted by magdesign, 10-10-2007, 08:56 AM
Ah ok David, thanks for clearing this up. I had some ips specified to listen on, I have changed it to listen on all incoming ips by using: Listen 80 Would I need to add a Listen 443 also or is this not needed ? Thanks

Posted by david510, 10-10-2007, 09:13 AM
Well that explains it . No need to add that for 443.

Posted by magdesign, 10-10-2007, 09:15 AM
Ok David, thanks a lot for your help it is much appreciated. You learn something new every day.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
Tomcat Configure (Views: 447)