<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>donbulinux</author_name>
  <author_url>https://blog.hatena.ne.jp/donbulinux/</author_url>
  <blog_title>AR ホームベーカリー</blog_title>
  <blog_url>https://donbulinux.hatenablog.jp/</blog_url>
  <categories>
    <anon>Apache</anon>
  </categories>
  <description>使っているレジストラの都合で、新しくドメインを登録すると www なし www などサブドメインが一式強制的に用意されてしまう、みたいな感じになっていて、これが原因で httpd の ServerName に対応するドメイン名がないけど、 IP は存在するのでアクセスできてしまう、というパターンに遭遇していた。 ので、雑に Rewrite で www なしアクセスは強制的に www 転送で対応する。 Rewrite &lt;VirtualHost *:80&gt; ServerName example.com:80 # Redirect to https://www. RewriteEngine on R…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdonbulinux.hatenablog.jp%2Fentry%2F2025%2F08%2F08%2F235949&quot; title=&quot;www なしドメインでアクセスしてきた時に www ありドメインへリダイレクトする - AR ホームベーカリー&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-08-08 23:59:49</published>
  <title>www なしドメインでアクセスしてきた時に www ありドメインへリダイレクトする</title>
  <type>rich</type>
  <url>https://donbulinux.hatenablog.jp/entry/2025/08/08/235949</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
