• I have a subdomain (from Godaddy if it helps):

    name.example.com

    Works wonderful. Theoretically shouldn’t example.com/name show the same landing page? It doesn’t. Instead I get a 404 error.

    Go daddy told me to do some domain name forwarding and adjust the name from my WP dashboard. So In Godaddy’s cpanel I forwarded name.example.com to example.com/name. In my WP dashboard (Settings->General) I changing the site address url to example.com/name and now I cannot log back into my dashboard as I’m booted out.

    I eventually just reinstalled everything fresh and tried to do the same change again only this time to WordPress Address (URL) in Settings-> general. Still no luck getting in.

    Does anyone know how to help me with any of these problems? Thank you in advance!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Having a foo.bar.com subdomain is not the same as bar.com/foo – they are usually two completely separate folders/locations on your web server. It’s possible, as GoDaddy suggested, to symlink or forward one to the other however.

    I am not too sure how to answer your other question(s), as they are very specific to your particular setup.

    sungjinyun,

    Like Joachim said, a subdomain is not the same as a subfolder. However, it is very common for people to set things up that way. Without looking at your specific account, I couldn’t figure out exactly what the problem is, but here’s how I would go about getting things setup as you described.

    First, add the subdomain to your existing hosting account. You do this by going to the Domain Management area of the Hosting Control Center, clicking on the domain name on the left side of the page, and then clicking the Add Subdomain button. It will ask what subdomain you want, and unless you change the default, a subfolder with the same name will be created in the root of the hosting account. This is why many of our customers have subdomains that are the same as a subfolder.

    Next, use our Hosting Connections tool to install WordPress. During the install process, it will ask what domain you want to use. Choose the subdomain.domain.com address that you just assigned to the hosting account. You will then be asked what subfolder you want WordPress installed in – be sure to remove the default “wordpress” subfolder and keep that field blank.

    That’s it. Once the install is complete, WordPress will be setup to resolve to the subdomain.domain.com address that you used. Our install process will have placed the WordPress app in the subfolder that you designated when you created the subdomain. If you visit that subfolder instead of accessing it through the subdomain, you should be automatically redirected to the subdomain because WordPress performs a redirect to the WordPress Address in its settings.

    Do not setup any domain or subdomain forwarding elsewhere in your account. If you already have, you should remove those settings before doing anything else.

    [In order for this to work, your domain needs to be in the same Go Daddy account as your hosting plan. If it’s not, we’re not able to automatically set the DNS for the subdomain. In that situation, you would need to manually create the necessary A Record in your DNS to point to your hosting plan’s IP address.]

    Alon
    [ Signature moderated. ]

    Thread Starter sungjinyun

    (@sungjinyun)

    thank you for your help!

    There is a plugin called Automatic Subdomains which maps sub domains to wordpress pages or posts.

    How to use sub domains in wordpress

    The above link has more information on it and also explains how to extend it to also map to authors.

    Hope it’s some help

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘subdomain mapping’ is closed to new replies.