• Background:

    I work at a non-profit who has a company run its website. Their server doesn’t support PHP or MySQL… and they have their own Content Management System.

    My company wants to put together a special little website, and I suggested using a WP. They’re into it, and had me build it on a different server with its own domain name.

    Question:

    I have a WordPress site at short-special-url.com. My work’s hosting company offered to point subdomain.work-website.com to short-special-url.com. Is there a way to make it so that subdomain.work-website.com stays as the URL, via some form of masking or URL FWDing, even as it loads the site from short-special-url.com?

    As I would just host the entire site at subdomain.work-wesbite.com, I cannot, as the server doesn’t support PHP or mySQL and cannot install WordPress.

    Furthermore, could it be pointed to the IP Address of the WordPress Site and work that way?

Viewing 1 replies (of 1 total)
  • sub domains are domains. they have their own dns zone file.

    you can point subdomain.work-website.com‘s A record to the IP of short-special-url.com.

    I’m confused at what you’d like to be the primary domain, but I assume they’d like the sub-sites primary to be the sub-domain:

    So, on short-special-url.com change the wordpress home and site_url values (along with all other urls in the database) to subdomain.work-website.com and add the subdomain.work-website.com to the domains section of your host so it knows which customer to point the domain to (can’t remember if that matters or not, might matter on shared hosting)

    As for “masking” short-special-url.com, look into “.htaccess rewrites”, or just do domain forwarding.

Viewing 1 replies (of 1 total)
  • The topic ‘Using Multiple Domains’ is closed to new replies.