• hamackey

    (@hamackey)


    I configured a local wordpress installation with the ip address. Opened a firewall and it worked. The hostname was bizarre, so I created an alias. Trouble is, when it resolves, the bizarre name shows up, or the ipaddress. Tried to correct in settings which crashed the site. Corrected .htaccess and have it working again, all except my pretty alias name. Where do I put this so the name shows up in the url? (And I don’t crash the site.)

    Many thanks,
    Harry

Viewing 2 replies - 1 through 2 (of 2 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    It sounds like an issue related to your local server. Have you contacted your local server’s vendors regarding this?

    Clayton James

    (@claytonjames)

    I configured a local wordpress installation with the ip address…
    …Where do I put this so the name shows up in the url?

    Your WordPress addresses will need to contain an actual domain name rather than a numeric ip address. This assumes you already have a domain name pointed at your servers static ip address. Configure your default (or virutal) host container in httpd.conf to resolve your domain name to the directory you installed WordPress in.

    If you’re only concerned about it functioning locally (and directly from the server it’s installed on) you can probably define any domain name you want in the config file, then use that in the WordPress urls in the dashboard, and then add an entry to your machine hosts file to resolve the local ip address to the domain name you used. But it won’t be accessible from the WAN, and will only work from the server.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘what's in a name…’ is closed to new replies.