Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - jeeva

Pages: [1]
1
Apache / Re: Default Page Displayed for all domains
« on: May 24, 2015, 02:44:11 PM »
Hi

I've got the same issue, running on MICROSOFT AZURE. Followed all the steps as posted throughout this thread. Nothing fixed it.

public ip: 137.116.193.163 (CWP automatically filled it in as the "shared ip")
server ip: 10.2.0.4 (but shows as "default" next to "shared ip"

Running CENTOS 6.5 vanilla install. I've reinstalled a couple of times modifying items to try to get it to work but couldn't.

I added one account "account1" with one domain "domain1.com"
When I open up that domain1.com it shows the HTTP Server Test Page (even if i remove the /USERNAME/Public_html/index.html)

Code: [Select]
# vhost_start domain1.com
<VirtualHost 137.116.193.163:80>
ServerName domain1.com
ServerAlias www.domain1.com
ServerAdmin jeevadotnet@mail.com
DocumentRoot "/home/user1/public_html"
ScriptAlias /cgi-bin/ "/home/user1/public_html/cgi-bin/
#
# Custom settings are loaded below this line (if any exist)
# Include "/usr/local/apache/conf/userdata/user1/domain1.com/*.conf

<IfModule mod_suexec.c>
        SuexecUserGroup user1 user1
</IfModule>

<IfModule mod_suphp.c>
        suPHP_UserGroup user1 user1
        suPHP_ConfigPath /home/user1
</IfModule>

<Directory "/home/user1/public_html">
        AllowOverride All
</Directory>

</VirtualHost>
# vhost_end domain1.com

user1 & domain1.com = example
Regards

Pages: [1]