Results 1 to 7 of 7

Thread: Bit of Help Please!

  1. #1
    Member
    Join Date
    Jul 2002
    Posts
    20

    Default Bit of Help Please!

    All hosting done is on shared servers, though, when my users go to mail.domain.com or ftp.domain.com (and do not already have those created), then it directs them to a website on the server (specifically only one website). The same goes when going directly to the shared servers IP (i.e. shared IP).

    What I need to know is a way to stop this and make it show the default "Apache Installed" as it is basically allowing free promotion to the user on the server which is not fair to others and is something I would like to stop.

    Any help would be appreciated.

    Regards,

    Jonathan

  2. #2
    Member vishal's Avatar
    Join Date
    Jan 2003
    Location
    India
    Posts
    343

    Default Check httpd.conf

    Hello,

    I had same problem for one of my servers. i managed to resolve it. (may be this will work)

    Have a look into your httpd.conf file and just see the first VirtualHost entry, that should be of the Site which is getting displayed when u type in mail.domain.com.

    just add a default Virtual Host entry before that.(Which will display apache default page).

    Hope it Helps!!!!


    Regards,
    rh_linuxion

    It is very simple to be Happy but it is very difficult to be Simple.

  3. #3
    Member
    Join Date
    Jul 2002
    Posts
    20

    Default

    I see this entry but not much else besides my users VH entries:

    #<VirtualHost _default_:*>
    #</VirtualHost>

    Should I un-comment that and set the * to my shared IP?

  4. #4
    Member
    Join Date
    Feb 2003
    Posts
    291

    Default Check VH Entry

    Hello,

    Check youe First VH Entry and that will be for the Domain which comes when u type in mail.something.com. before that VH Entry add a Entry which will display the Default Apache Page. Don't Delete Anything from httpd.conf. u'll land up in a Big trouble.

    Regards,
    Mitul

  5. #5
    Member
    Join Date
    Jul 2002
    Posts
    20

    Default

    I've checked them all and they all point to my shared IP, none of them are pointing to anything out of the ordinary.

    Anything else that could be a problem?

  6. #6
    Member
    Join Date
    Mar 2002
    Location
    Alberta, Canada
    Posts
    1,509

    Default

    This is an example of what the first VH entry should look like:

    NameVirtualHost ServerSharedIPaddress:80

    <VirtualHost ServerSharedIPaddress>
    BytesLog domlogs/ServerHostName.com-bytes_log
    ServerName ServerHostName.com
    DocumentRoot /usr/local/apache/htdocs
    </VirtualHost>

    The "Shared Server IP address" is the first IP address assigned to the Server and the "Server Host Name" is always a Sub-domain.
    Helping people Host, Create, and Maintain their Web Site
    Also providing Server Admin Services - setup / troubleshooting

    http://potentproducts.com/

  7. #7
    Member
    Join Date
    Jul 2002
    Posts
    20

    Default

    Edit: Things are now working, thanks everyone for their help .
    Last edited by SaintDog; 03-27-2003 at 06:50 AM.

Similar Threads

  1. Migrating Accounts from 32-bit to 64-bit Linux
    By jkoconnell in forum cPanel & WHM Discussions
    Replies: 5
    Last Post: 04-26-2011, 02:19 AM
  2. Centos 64 bit and 32 bit problems
    By Seyhun in forum cPanel & WHM Discussions
    Replies: 8
    Last Post: 02-15-2008, 07:04 AM
  3. FreeBSD 6.2 64 Bit and 32 bit ports
    By beddo in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 07-03-2007, 09:15 AM
  4. 64 bit recommendation
    By cisnet in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 01-23-2007, 08:00 PM
  5. Looking for a bit of help with the nameserver
    By morfeeis in forum New User Questions
    Replies: 2
    Last Post: 10-03-2004, 03:25 AM