The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

accessing my site

Discussion in 'General Discussion' started by tmgridley, Oct 2, 2007.

  1. tmgridley

    tmgridley Registered

    Joined:
    Oct 1, 2007
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Brand new to this, so I am sure this question has been asked before:

    I created an account and uploaded all of my html files etc.. into my public_html directory. When I enter in www.mydomain.com in to a web browser it brings up the default Cpanel page, but when I enter in www.mydomain.com/~myhomedirectory it brings up my site. How do I get it to bring up my site by its domain without having to add the path to my home directory? Thanks.
     
  2. tmgridley

    tmgridley Registered

    Joined:
    Oct 1, 2007
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    There was a virtual host in the httpd.conf file for the IP of the server who's document directory was /usr/local/apache/htdocs and I commented out the virtual host and it started working, but I am not sure if that was the correct solution.
     
  3. madaboutlinux

    madaboutlinux Well-Known Member

    Joined:
    Jan 24, 2005
    Messages:
    1,052
    Likes Received:
    2
    Trophy Points:
    38
    Location:
    Earth
    I would say 90% because your site is working but now you won't get a cPanel page while browsing your server IP i.e. http://ServerIp as you have commented the default path to apache/htdocs folder.
     
Loading...

Share This Page