Help us understand the problem. What is going on with this article?

azure website移行作業つまった処メモ

More than 5 years have passed since last update.

azure website

外部サービスのリポジトリと連携できるのがいいですね
個人的に移管でつまったところをメモします

1. SVGが見れない (woff,tffも)

ルートディレクトリに web.config を作成

web.config
<?xml version="1.0" encoding="utf-8"?>
<configuration>
    <system.webServer>
        <staticContent>
            <remove fileExtension=".woff" />
            <mimeMap fileExtension=".woff" mimeType="application/x-font-woff" />
            <remove fileExtension=".ttf" />
            <mimeMap fileExtension=".ttf" mimeType="application/octet-stream" />
            <remove fileExtension=".svg" />
            <mimeMap fileExtension=".svg" mimeType="image/svg+xml" />
        </staticContent>
    </system.webServer>
</configuration>

フォントファイルのwoff,ttfも初期設定では反映されないようですので追加しとく

2.ドメインのはりかえ

ドメイン管理のほうでCNAMEとAレコードでazureとドメインを紐付けてあげます

Screen Shot 2014-05-17 at 4.05.44.png

DASHBORADの下のバーらへんにある MANAGE DOMAINをクリック
* 外部IPをAレコードしてドメインとひもづける
* CNAMEで awverify.yourdomain.com と awverify.yourdomain.azurewebsites.netを紐付け

参考:AレコードとCNAME貼替えについて

どちらか怠ると紐付けされませんち。
これで張り替え完了です。

githubとつなげられるのべんりですね、とっても!!

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした