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.

spf1 record & new account folder mapping

Discussion in 'General Discussion' started by oedwards, Apr 23, 2013.

  1. oedwards

    oedwards Registered

    Joined:
    Apr 23, 2013
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi,

    I have recently built out WHM on Cent OS 5.9 using a test licence on behalf of a client. They want to use this machine as a development environment to test their website before transferring them to their production WHM instance. Obviously a full licence will need to be purchased in the next 15 days.

    This is the first time I have built a WHM instance and I made a few newbie mistakes like specifying the internal IP rather than the public IP, I believe I have now correct my mistakes but this might be worth keeping in mind whilst reading the below two questions.

    Question 1

    When I go to ‘Create A New Account’ I notice the option to tick the below;
    - Enable SPF on this account (v=spf1 +a +mx +ip4:192.168.0.15 ?all)
    Notice the internal IP address is specified, where about can I change this and/or see if anything else is set to the internal IP?

    Question 2

    As this will be a development environment I am using subdomains of the main domain ‘iyc-net.com’. For instance setting up a new account using vittest1.iyc-net.com. Once I have created this account I go to view /http://www.vittest2.iyc-net.com and it redirects to /http://www.vittest2.iyc-net.com/cgi-sys/defaultwebpage.cgi (default website page). When I FTP to the domain and transfer a basic index.php file to the www or public_html folder is makes no difference. If I try to view /http://www.vittest2.iyc-net.com/index.php it is a 404 not found.

    So somehow the domain is not linked to the folder.

    If any WHM savvy people can point me in the right direction that would be great.

    Thanks in advance

    Olly
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,456
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    #1: WHM » Server Configuration » Basic cPanel & WHM Setup, Basic Config section.

    #2: Did you create the "main domain" account normally using a Package you created first?
     
Loading...

Share This Page