• Hi,
    I have an IT domain (mysite.it) bought from HostingSolutions and i have an hosting plan on Godaddy where I have MYSITE.COM

    Is it possible to set up wordpress for the IT domain on a subfolder like MYSITE.COM/IT and host it on the same godaddy plan?

    1. I pointed the Mysite.it records to godaddy plan IP
    2. I created a secondary domain in Godaddy domain management (which goes to folder /it)
    3. I installed wordpress in subfolder /IT

    I get the homepage working Mysite.it (it’s actually getting the mysite.com/it)
    But all other pages are broken only in the new domain, for example if I digit:
    mysite.it/about (it displays an 500 internal server error)
    mysite.com/it/about (it’s working)

    Should I change the URL in WP General Settings?

Viewing 5 replies - 1 through 5 (of 5 total)
  • It sounds like your add-on domain isn’t set up correctly. When did you set it up? When you add an add-on domain and change the nameservers it can take 24 to 48 hours to fully propagate. 500 errors are generic in nature, you need to look at the server’s error logs to find out the actual error to troubleshoot it. If you are not familiar with how to find your error logs you may need to contact your host.

    Thread Starter jumust

    (@jumust)

    Thanks!
    I added the add-on domain in Godaddy long time ago.
    As well as I changed the nameserver in Hosting Solutions, btw here I tried to change the nameserver but I got an error (maybe IT restrictions), so I changed all records in DNS Zone, should be the same right?

    Is there not any redirect issue or mapping issue in your opinion? Is it a server side problem?

    jumust,

    Since you’re able to get to the homepage, I would expect the DNS and server mapping are setup correctly. In my experience, when someone can reach their homepage but not others, it’s because permalinks are setup while the web.config (Windows) or .htaccess (Linux) file is either not present or not setup properly. These files can control many things in a hosting account, but with WordPress, they’re most commonly used to control how permalinks work. Luckily, WordPress creates the files automatically.

    Are you on a Windows server or a Linux server? Are you using permalinks? Does the problem correct itself if permalinks are disabled?

    If you’re on a Windows server, you should NOT have a site in a subfolder if you have another site using a web.config file in the root of the account. The web.config in the root will take control of the site in the subfolder which is not what you want. So, while I generally recommend Linux for WordPress (or any PHP-based site), if you *must* use Windows, be sure not to have one site in the root and another in a subfolder. Instead, all sites should be in subfolders of the root.

    If you’re using Linux, it’s not normally a problem to have a site in root and others in subfolders. This is because of a difference in how a Linux server treats .htaccess files versus how a Windows server treats web.config files. If you’re on Linux and disabling permalinks fixed the problem, you should be able to re-enable them (which will create the necessary .htaccess file) and have things work properly.

    Let us know if this information was helpful. If not, I’m curious to know the actual domain name (if you’re comfortable posting it publicly), so I could research your account directly.

    Alon
    [ Signature moderated. ]

    Thread Starter jumust

    (@jumust)

    Thanks Godaddy!
    I tried to set up permalink as default (aka disable permalink) and it works.
    But when I set up any of the custom permalink structure again it’s not working. The “necessary” .htaccess file created is exactly the same than what I had.

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /it/
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /it/index.php [L]
    </IfModule>
    
    # END WordPress

    So can I have a custom permalink structure or not?

    jumust,

    Normally, yes, but there must be something preventing you from doing so. However, without looking at your actual account, I wouldn’t be able to speculate any further about the cause of the problem.

    I’d be happy to take a look at your account if you’re comfortable posting the domain name in the forum publicly. Alternatively, you could submit a support request via https://x.co/gbsm and post back here with the incident number for your support request. That would also enable me to find your account and investigate.

    Alon
    [ Signature moderated. ]

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Godaddy hosting and HostingSolutions domain – Only Home page works’ is closed to new replies.