Viewing 8 replies - 1 through 8 (of 8 total)
  • do you have a virtual host point https://domain.com/blog/ to https://blog.subdomain.com/ in the webserver config ?

    Thread Starter hemanthsharma

    (@hemanthsharma)

    I can run other HTML and PHP files from that URL… i haven’t tried complex pages. however, i am not able to execute index.php of the WP.

    what webserver? iis or apache? Did you change the wordpress settings to match up to the new directory? did you set it so that the virtual host uses read write and or execute permissions recursively?

    Thread Starter hemanthsharma

    (@hemanthsharma)

    Its IIS with PHP support. I deleted the database and reconfigured from the subdomain. everything worked fine.
    The subdomain directory is given full access… rwx…

    Unfortunately I don’t know IIS that well.. Ive always been an apache girl. I know in apache a dir can have rwx, but the individual files may have rw or r… does the permission on the whatever.php file it errors on have the right permissions? is that file actually there uncorrupted? if you open the config file does it show the actual paths or the virutal paths? is the DNS updated to show the https://blog.subdomain.com/

    sorry if im not too much help.. with iis ive only used it once or twice.. but apache for years. all i know in iis is concepts ?? I guess about all i can do is throw ideas out on this one ??

    Thread Starter hemanthsharma

    (@hemanthsharma)

    Its ok. ??

    DNS is updated to show https://blog.domain.com/ and permissions are right, files are uncorrupted coz, i have tried atleast 3 times. i tried only once in https://domain.com/myblog/ it works fine. anyways, i think its some problem with subdomain configuration… I will check with my ISP.

    Thanks a ton!

    ??

    welks. good luck.. let us know how it gets fixed! you’ve definately get me wondering ??

    The subdomain setup assumes the folder mapped to the subdomain is the root. So the relative URI’s undergo a change. For instance “/blog…” in case the blog is in https://yourdomain.com/blog/ will become “/…etc” if it resides in the subdomain https://blog.yourdomain.com/.

    S.K

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Installing on a Sub Domain’ is closed to new replies.